Skip to content

Commit

Permalink
Ensure consistent debian versions across build and run docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
J12934 committed Sep 4, 2023
1 parent 1c0c2dd commit 8b05ee9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18 as installer
FROM node:18-buster as installer
COPY . /juice-shop
WORKDIR /juice-shop
RUN npm i -g typescript ts-node
Expand All @@ -19,7 +19,7 @@ ARG CYCLONEDX_NPM_VERSION=latest
RUN npm install -g @cyclonedx/cyclonedx-npm@$CYCLONEDX_NPM_VERSION
RUN npm run sbom

FROM gcr.io/distroless/nodejs:18
FROM gcr.io/distroless/nodejs18-debian11
ARG BUILD_DATE
ARG VCS_REF
LABEL maintainer="Bjoern Kimminich <[email protected]>" \
Expand Down

0 comments on commit 8b05ee9

Please sign in to comment.