Skip to content

Commit 8e181f3

Browse files
Fix missing Dockerfile ARG
Docker ARG REPOS_FILE was not redeclared in the "cacher" build stage, and so was not inheriting the default value specified at the top of the file. This redeclares the arg in the "cacher" build stage, so that the default value may be used.
1 parent 86867ec commit 8e181f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ FROM $FROM_IMAGE AS cacher
2121

2222
# clone overlay source
2323
ARG OVERLAY_WS
24+
ARG REPOS_FILE
2425
WORKDIR $OVERLAY_WS/src
2526
COPY ./${REPOS_FILE} ../
2627
RUN vcs import ./ < ../${REPOS_FILE} && \

0 commit comments

Comments
 (0)