Update the Udacity Docker containers:
1/ Switch to using gcr.io instead of b.gcr.io 2/ Add libjpeg so that Pillow >=3.0 can be installed. Change: 136901293
This commit is contained in:
parent
50a04cde79
commit
aa6a798e57
tensorflow/examples/udacity
@ -1,5 +1,13 @@
|
||||
FROM gcr.io/tensorflow/tensorflow:latest
|
||||
MAINTAINER Vincent Vanhoucke <vanhoucke@google.com>
|
||||
|
||||
# Pillow needs libjpeg by default as of 3.0.
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
libjpeg8-dev \
|
||||
&& \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install scikit-learn pyreadline Pillow
|
||||
RUN rm -rf /notebooks/*
|
||||
ADD *.ipynb /notebooks/
|
||||
|
@ -82,11 +82,11 @@ This will allow you to save work and have access to generated files on the host
|
||||
Pushing a Google Cloud release
|
||||
------------------------------
|
||||
|
||||
V=0.5.0
|
||||
docker tag $USER/assignments b.gcr.io/tensorflow-udacity/assignments:$V
|
||||
gcloud docker push b.gcr.io/tensorflow-udacity/assignments
|
||||
docker tag -f $USER/assignments b.gcr.io/tensorflow-udacity/assignments:latest
|
||||
gcloud docker push b.gcr.io/tensorflow-udacity/assignments
|
||||
V=0.6.0
|
||||
docker tag $USER/assignments gcr.io/tensorflow/udacity-assignments:$V
|
||||
gcloud docker push gcr.io/tensorflow/udacity-assignments
|
||||
docker tag -f $USER/assignments gcr.io/tensorflow/udacity-assignments:latest
|
||||
gcloud docker push gcr.io/tensorflow/udacity-assignments
|
||||
|
||||
History
|
||||
-------
|
||||
@ -96,3 +96,4 @@ History
|
||||
* 0.3.0: Use 0.7.1 release.
|
||||
* 0.4.0: Move notMMNIST data for Google Cloud.
|
||||
* 0.5.0: Actually use 0.7.1 release.
|
||||
* 0.6.0: Update to TF 0.10.0, add libjpeg (for Pillow).
|
||||
|
Loading…
Reference in New Issue
Block a user