From 481e86fdd4e803765f2a890351d68acb64352567 Mon Sep 17 00:00:00 2001 From: mdecimus Date: Wed, 19 Jul 2023 16:13:35 +0200 Subject: [PATCH] Add CA certificates to Docker runtime (#5) --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 55478d45..6cb6c359 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,7 @@ FROM debian:buster-slim AS runtime COPY --from=builder /app/target/release/stalwart-mail /usr/local/bin/stalwart-mail COPY --from=builder /app/target/release/stalwart-install /usr/local/bin/stalwart-install +RUN apt-get update -y && apt-get install -yq ca-certificates RUN echo "#\!/bin/sh\n\n/usr/local/bin/stalwart-install -c all-in-one -p /opt/stalwart-mail -d" > /usr/local/bin/configure.sh && \ chmod +x /usr/local/bin/configure.sh RUN useradd stalwart-mail -s /sbin/nologin -M