mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-01-01 13:13:45 +08:00
Add CA certificates to Docker runtime (#5)
This commit is contained in:
parent
d96d7840a2
commit
481e86fdd4
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue