Dockerfile: Do not install recommended pkgs (#2215)
This commit is contained in:
@@ -17,7 +17,7 @@ RUN case "${TARGETPLATFORM}" in \
|
||||
esac
|
||||
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||
apt-get update && \
|
||||
apt-get install -yq build-essential libclang-16-dev \
|
||||
apt-get install -yq --no-install-recommends build-essential libclang-16-dev \
|
||||
g++-aarch64-linux-gnu binutils-aarch64-linux-gnu \
|
||||
g++-x86-64-linux-gnu binutils-x86-64-linux-gnu
|
||||
RUN rustup target add "$(cat /target.txt)"
|
||||
@@ -32,7 +32,7 @@ FROM docker.io/debian:bookworm-slim
|
||||
WORKDIR /opt/stalwart
|
||||
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||
apt-get update && \
|
||||
apt-get install -yq ca-certificates
|
||||
apt-get install -yq --no-install-recommends ca-certificates
|
||||
COPY --from=builder /output/stalwart /usr/local/bin
|
||||
COPY --from=builder /output/stalwart-cli /usr/local/bin
|
||||
COPY ./resources/docker/entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
|
||||
Reference in New Issue
Block a user