git » chasquid » commit a5bd8cb

docker: Install libcap2-bin binary

author Alberto Bertogli
2021-09-03 10:41:59 UTC
committer Alberto Bertogli
2021-09-03 10:41:59 UTC
parent 4bd2b9e3c04ff61d2b2c716713d4ad7e65cacdba

docker: Install libcap2-bin binary

The latest Debian stable images don't include the `setcap` binary by
default like they used to.

Our Docker build depends on it, so this patch makes the Dockerfile
install the libcap2-bin package (which contains the `setcap` binary).

docker/Dockerfile +1 -1

diff --git a/docker/Dockerfile b/docker/Dockerfile
index cb82700..9cc0afd 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -28,7 +28,7 @@ RUN apt-get install -y -q \
 	chasquid \
 	dovecot-lmtpd dovecot-imapd dovecot-pop3d \
 	dovecot-sieve dovecot-managesieved \
-	acl sudo certbot
+	acl libcap2-bin sudo certbot
 # Copy the binaries. This overrides the debian packages with the ones we just
 # built above.