[Compose] New Rspamd image (1.8.1)

[Rspamd] Upgrade base to Bionic
This commit is contained in:
André
2018-10-17 22:41:39 +02:00
parent 86b92f68cb
commit 7a7fafec87
2 changed files with 3 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM ubuntu:xenial
FROM ubuntu:bionic
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
ARG DEBIAN_FRONTEND=noninteractive
@@ -8,10 +8,9 @@ RUN apt-get update && apt-get install -y \
tzdata \
ca-certificates \
gnupg2 \
gnupg-curl \
apt-transport-https \
&& apt-key adv --fetch-keys https://rspamd.com/apt/gpg.key \
&& echo "deb https://rspamd.com/apt-stable/ xenial main" > /etc/apt/sources.list.d/rspamd.list \
&& echo "deb https://rspamd.com/apt-stable/ bionic main" > /etc/apt/sources.list.d/rspamd.list \
&& apt-get update && apt-get install -y rspamd \
&& rm -rf /var/lib/apt/lists/* \
&& echo '.include $LOCAL_CONFDIR/local.d/rspamd.conf.local' > /etc/rspamd/rspamd.conf.local \