Skip to content

Commit

Permalink
Dockerfile: update base image to move past new snyk vulnerability (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger authored Oct 25, 2024
1 parent e59fdb9 commit 4bd964b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
ARG BASE_IMAGE=cyberdojo/web-base:ea6086b
FROM ${BASE_IMAGE}
# ARGs are reset after FROM See https://github.com/moby/moby/issues/34129
ARG BASE_IMAGE
ENV BASE_IMAGE=${BASE_IMAGE}

FROM cyberdojo/web-base:f2863fe
LABEL [email protected]

WORKDIR /cyber-dojo
RUN chown nobody:nogroup .
COPY --chown=nobody:nogroup . .
COPY . .

ARG COMMIT_SHA
ENV SHA=${COMMIT_SHA}
Expand Down

0 comments on commit 4bd964b

Please sign in to comment.