FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #622 from Kaggle/tag-tf-version · RTDataScience/docker-python@8d56b27 · GitHub

Repository navigation

Commit 8d56b27

Browse files
authored
Merge pull request Kaggle#622 from Kaggle/tag-tf-version
Add Docker label with TensorFlow version
2 parents 9e81381 + 30c2013 commit 8d56b27

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎Dockerfile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
ARG BASE_TAG=2019.03
2+
ARG TENSORFLOW_VERSION=1.14.0
23

3-
FROM gcr.io/kaggle-images/python-tensorflow-whl:1.14.0-py36 as tensorflow_whl
4+
FROM gcr.io/kaggle-images/python-tensorflow-whl:${TENSORFLOW_VERSION}-py36 as tensorflow_whl
45
FROM continuumio/anaconda3:${BASE_TAG}
56

67
ARG GIT_COMMIT=unknown
78
ARG BUILD_DATE=unknown
89

910
LABEL git-commit=$GIT_COMMIT
1011
LABEL build-date=$BUILD_DATE
12+
LABEL tensorflow-version=$TENSORFLOW_VERSION
1113

1214
# Correlate current release with the git hash inside the kernel editor by running `!cat /etc/git_commit`.
1315
RUN echo "$GIT_COMMIT" > /etc/git_commit && echo "$BUILD_DATE" > /etc/build_date

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL