commit 515d76b: Merge pull request #3586 from J0WI/patch-2

GitHub noreply at github.com
Mon Dec 28 14:28:07 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-12-28 14:23:21 +0000
URL: https://github.com/rspamd/rspamd/commit/515d76b75018ab70d4f3412e1d9385e591b5aaa9 (HEAD -> master)

Merge pull request #3586 from J0WI/patch-2
[Feature] Docker: use Debian slim variant

 docker/Dockerfile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --combined docker/Dockerfile
index cc9452a41,be0961974..903040a4f
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@@ -1,6 -1,10 +1,10 @@@
- FROM debian:buster
+ FROM debian:buster-slim
  
- RUN	apt-get update && apt-get install -y --no-install-recommends gnupg dirmngr && rm -rf /var/lib/apt/lists/*
+ RUN	apt-get update && apt-get install -y --no-install-recommends \
+ 		ca-certificates \
+ 		dirmngr \
+ 		gnupg \
+ 	&& rm -rf /var/lib/apt/lists/*
  
  RUN	set -x \
  # gpg: key FFA232EDBF21E25E: public key "Rspamd Nightly Builds (Rspamd Nightly Builds) <vsevolod at highsecure.ru>" imported
@@@ -11,7 -15,7 +15,7 @@@
  	&& rm -rf "$GNUPGHOME" \
  	&& apt-key list > /dev/null
  
 -RUN	echo "deb http://rspamd.com/apt-stable/ buster main" > /etc/apt/sources.list.d/rspamd.list
 +RUN	echo "deb https://rspamd.com/apt-stable/ buster main" > /etc/apt/sources.list.d/rspamd.list
  
  RUN	apt-get update \
  	&& apt-get install -y rspamd \


More information about the Commits mailing list