curl and adduser did not make it into merge (#2303)

This commit is contained in:
stratacast 2025-10-23 09:28:25 -07:00 committed by GitHub
parent f9e72bbf29
commit 46b77997e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ RUN cargo build --manifest-path=crates/main/Cargo.toml --no-default-features --f
FROM debian:trixie-slim AS runtime
COPY --from=builder /app/target/release/stalwart /usr/local/bin/stalwart
RUN apt-get update -y && apt-get install -yq ca-certificates
RUN apt-get update -y && apt-get install -yq --no-install-recommends ca-certificates curl adduser
RUN curl -LO https://github.com/apple/foundationdb/releases/download/7.3.69/foundationdb-clients_7.3.69-1_amd64.deb && \
dpkg -i foundationdb-clients_7.3.69-1_amd64.deb
RUN useradd stalwart -s /sbin/nologin -M