Skip to content

Commit

Permalink
Add base-image env-var to image
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Oct 3, 2023
1 parent 3d3e354 commit 7bd9d19
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cyberdojo/docker-base:0b9a792
ARG BASE_IMAGE=cyberdojo/docker-base:0b9a792
FROM ${BASE_IMAGE}
LABEL [email protected]

# - - - - - - - - - - - - - - - - - - - - - -
Expand Down Expand Up @@ -34,3 +35,7 @@ WORKDIR ${HOME_DIR}

ARG COMMIT_SHA
ENV SHA=${COMMIT_SHA}

# ARGs are reset after FROM See https://github.com/moby/moby/issues/34129
ARG BASE_IMAGE
ENV BASE_IMAGE=${BASE_IMAGE}

0 comments on commit 7bd9d19

Please sign in to comment.