File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
ARG BASE_TAG=latest
2
2
ARG TENSORFLOW_VERSION=2.1.0
3
3
4
- FROM gcr.io/kaggle-images/python-tensorflow-whl:${TENSORFLOW_VERSION}-py37-2 as tensorflow_whl
4
+ FROM gcr.io/kaggle-images/python-tensorflow-whl:${TENSORFLOW_VERSION}-py37-3 as tensorflow_whl
5
5
FROM gcr.io/deeplearning-platform-release/base-cpu:${BASE_TAG}
6
6
7
7
ADD clean-layer.sh /tmp/clean-layer.sh
@@ -59,6 +59,12 @@ RUN pip install /tmp/tensorflow_cpu/tensorflow*.whl && \
59
59
rm -rf /tmp/tensorflow_cpu && \
60
60
/tmp/clean-layer.sh
61
61
62
+ # Install tensorflow-gcs-config from a pre-built wheel
63
+ COPY --from=tensorflow_whl /tmp/tensorflow_gcs_config/*.whl /tmp/tensorflow_gcs_config/
64
+ RUN pip install /tmp/tensorflow_gcs_config/tensorflow*.whl && \
65
+ rm -rf /tmp/tensorflow_gcs_config && \
66
+ /tmp/clean-layer.sh
67
+
62
68
RUN apt-get install -y libfreetype6-dev && \
63
69
apt-get install -y libglib2.0-0 libxext6 libsm6 libxrender1 libfontconfig1 --fix-missing && \
64
70
pip install gensim && \
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ class TestImport(unittest.TestCase):
5
5
def test_basic (self ):
6
6
import bq_helper
7
7
import cleverhans
8
+ import tensorflow_gcs_config
You can’t perform that action at this time.
0 commit comments