Skip to content

Commit

Permalink
Expose GIT_COMMIT & BUILD_DATE ARGs as ENV variables (#1159)
Browse files Browse the repository at this point in the history
http:https://b/232808996
  • Loading branch information
rosbo committed May 16, 2022
1 parent cdba7d1 commit 58003dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,9 @@ ARG BUILD_DATE=unknown

LABEL git-commit=$GIT_COMMIT
LABEL build-date=$BUILD_DATE
ENV GIT_COMMIT={$GIT_COMMIT}
ENV BUILD_DATE=${BUILD_DATE}

LABEL tensorflow-version=$TENSORFLOW_VERSION
# Used in the Jenkins `Docker GPU Build` step to restrict the images being pruned.
LABEL kaggle-lang=python
Expand Down

0 comments on commit 58003dc

Please sign in to comment.