commit c513d4d: [Feature] Docker: use Debian slim variant

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


Author: J0WI
Date: 2020-12-25 15:38:59 +0000
URL: https://github.com/rspamd/rspamd/commit/c513d4d7b7d5e2e654275d57f603432238743e06 (refs/pull/3586/head)

[Feature] Docker: use Debian slim variant

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

diff --git a/docker/Dockerfile b/docker/Dockerfile
index a96650620..be0961974 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,6 +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


More information about the Commits mailing list