Skip to content

Commit

Permalink
Add CA certificates to Docker runtime (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdecimus committed Jul 19, 2023
1 parent d96d784 commit 481e86f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 481e86f

Please sign in to comment.