diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-10-12 23:17:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-12 23:17:54 +0100 |
commit | cf8114b5628ccfcf51ac244da3d648e602b35a74 (patch) | |
tree | 1829cafaa094fce289f4055229cfb7ada2ae44bd | |
parent | e2e021a18220d7966cd7888db912e98108d717f7 (diff) | |
parent | 85f10315cf8ff67fbe8e6bf6fdf91af4faf7f7f7 (diff) | |
download | rspamd-cf8114b5628ccfcf51ac244da3d648e602b35a74.tar.gz rspamd-cf8114b5628ccfcf51ac244da3d648e602b35a74.zip |
Merge pull request #3933 from mrueg/docker-bullseye
Dockerfile: Switch to debian bullseye base
-rw-r--r-- | docker/Dockerfile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 13d738ec9..ae6d9562d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,7 @@ -FROM debian:buster-slim +ARG DEBIAN_RELEASE=bullseye +FROM debian:${DEBIAN_RELEASE}-slim +ARG DEBIAN_RELEASE=bullseye +ENV DEBIAN_RELEASE=$DEBIAN_RELEASE RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates \ @@ -46,7 +49,7 @@ lwJWDec6PUe835YwqrARXtPaNA== \n\ && rm -rf "$GNUPGHOME" \ && apt-key list > /dev/null -RUN echo "deb [signed-by=/etc/apt/trusted.gpg.d/rspamd.gpg] https://rspamd.com/apt-stable/ buster main" > /etc/apt/sources.list.d/rspamd.list +RUN echo "deb [signed-by=/etc/apt/trusted.gpg.d/rspamd.gpg] https://rspamd.com/apt-stable/ $DEBIAN_RELEASE main" > /etc/apt/sources.list.d/rspamd.list RUN apt-get update \ && apt-get install -y rspamd \ |