Dockerfile: Do not install recommended pkgs (#2215)

This commit is contained in:
Manuel Rüger
2025-10-21 16:55:39 +02:00
committed by GitHub
parent 467deb8cdc
commit 054d07878d
2 changed files with 3 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ FROM --platform=$TARGETPLATFORM docker.io/library/debian:bookworm-slim AS gnu
WORKDIR /opt/stalwart
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -yq ca-certificates tzdata
apt-get install -yq --no-install-recommends ca-certificates tzdata
COPY --from=builder /app/artifact/stalwart /usr/local/bin
COPY --from=builder /app/artifact/stalwart-cli /usr/local/bin
COPY ./resources/docker/entrypoint.sh /usr/local/bin/entrypoint.sh