From b166f14fc824d12e0b0f25ba0bb052bdce365ead Mon Sep 17 00:00:00 2001 From: "snyk-io[bot]" <141718529+snyk-io[bot]@users.noreply.github.com> Date: Wed, 24 Apr 2024 20:14:20 +0000 Subject: [PATCH] fix: docker/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-6617103 - https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-6617103 - https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-6277507 - https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-6277507 - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 --- docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c0aaf7e..4e653d8 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:bookworm AS htslib_build +FROM debian:12.5 AS htslib_build ARG HTSLIB_BRANCH @@ -28,7 +28,7 @@ RUN apt-get update && \ make && \ make install -FROM debian:bookworm AS bambi_build +FROM debian:12.5 AS bambi_build COPY --from=htslib_build /tmp/usr/local /usr/local COPY . /usr/local/src/bambi @@ -60,7 +60,7 @@ RUN apt-get update && \ make CPPFLAGS="-I$PREFIX/include" LDFLAGS="-L$PREFIX/lib" && \ make install prefix="$PREFIX" -FROM debian:bookworm AS bambi +FROM debian:12.5 AS bambi COPY --from=htslib_build /tmp/usr/local /usr/local COPY --from=bambi_build /tmp/usr/local /usr/local