Skip to content

Commit

Permalink
Per #521, METVIEWER_GIT_NAME is set as SOURCE_BRANCH rather than bein…
Browse files Browse the repository at this point in the history
…g a required envvar.
  • Loading branch information
JohnHalleyGotway committed Apr 19, 2024
1 parent dd1c226 commit b998611
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions internal/scripts/docker/Dockerfile.copy
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,7 @@ RUN if [ "x${SOURCE_BRANCH}" = "x" ]; then \
else \
echo "Build Argument SOURCE_BRANCH=${SOURCE_BRANCH}"; \
fi

#
# METVIEWER_GIT_NAME is required.
#
ARG METVIEWER_GIT_NAME
RUN if [ "x${METVIEWER_GIT_NAME}" = "x" ]; then \
echo "ERROR: METVIEWER_GIT_NAME undefined! Rebuild with \"--build-arg METVIEWER_GIT_NAME={branch, tag, or hash}\""; \
exit 1; \
fi
ENV METVIEWER_GIT_NAME ${SOURCE_BRANCH}

#
# Use the develop branch for METviewer dependencies by default.
Expand Down

0 comments on commit b998611

Please sign in to comment.