Skip to content

Commit

Permalink
fix: docker/Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-io[bot] authored Apr 24, 2024
1 parent 4c25263 commit b166f14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:bookworm AS htslib_build
FROM debian:12.5 AS htslib_build

ARG HTSLIB_BRANCH

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b166f14

Please sign in to comment.