1 FROM gcr.io/tensorflow/tensorflow:latest 2 LABEL maintainer="Vincent Vanhoucke <vanhoucke (a] google.com>" 3 4 # Pillow needs libjpeg by default as of 3.0. 5 RUN apt-get update && apt-get install -y --no-install-recommends \ 6 libjpeg8-dev \ 7 && \ 8 apt-get clean && \ 9 rm -rf /var/lib/apt/lists/* 10 11 RUN pip install scikit-learn pyreadline Pillow imageio 12 RUN rm -rf /notebooks/* 13 ADD *.ipynb /notebooks/ 14 WORKDIR /notebooks 15 CMD ["/run_jupyter.sh", "--allow-root"] 16