Skip to content

Commit

Permalink
Update the MET Dockerfiles to set replace slashes with underscores wh…
Browse files Browse the repository at this point in the history
…en setting MET_GIT_NAME
  • Loading branch information
JohnHalleyGotway committed Feb 7, 2024
1 parent ef2ac2f commit 3ed0526
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/scripts/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN if [ "x${SOURCE_BRANCH}" = "x" ]; then \
echo "Build Argument SOURCE_BRANCH=${SOURCE_BRANCH}"; \
fi

ENV MET_GIT_NAME ${SOURCE_BRANCH}
ENV MET_GIT_NAME $(echo ${SOURCE_BRANCH} | sed 's%/%_%g')
ENV MET_REPO_DIR /met/MET-${MET_GIT_NAME}
ENV MET_GIT_URL https://github.com/dtcenter/MET
ENV MET_DEVELOPMENT true
Expand Down
2 changes: 1 addition & 1 deletion internal/scripts/docker/Dockerfile.copy
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN if [ "x${SOURCE_BRANCH}" = "x" ]; then \
echo "Build Argument SOURCE_BRANCH=${SOURCE_BRANCH}"; \
fi

ENV MET_GIT_NAME ${SOURCE_BRANCH}
ENV MET_GIT_NAME $(echo ${SOURCE_BRANCH} | sed 's%/%_%g')
ENV MET_REPO_DIR /met/MET-${MET_GIT_NAME}
ENV MET_GIT_URL https://github.com/dtcenter/MET
ENV MET_DEVELOPMENT true
Expand Down

0 comments on commit 3ed0526

Please sign in to comment.