From 83c8f4b23cea16b22e708270813ed9e96bb9b45c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 3 Jul 2024 08:31:57 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-GNUTLS28-6474581 - https://snyk.io/vuln/SNYK-DEBIAN12-GNUTLS28-6474586 - https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-6277507 - https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-6277507 - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 75c79af..62e974d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,7 @@ RUN cargo build --release ### Runtime -FROM debian:bookworm-slim +FROM debian:12.6-slim RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y sqlite3 COPY --from=builder /src/target/release/ddcp /usr/bin/ddcp COPY --from=builder /src/target/release/crsqlite.so /usr/lib/crsqlite.so