Update Ksonnet version, Add Python2 pip (#216)

* Update Ksonnet version, Add Python2 pip

* Update ks version in README
This commit is contained in:
Sanyam Kapoor 2018-08-07 22:58:20 -07:00 committed by k8s-ci-robot
parent 082561a75b
commit cfdcb1292c
2 changed files with 7 additions and 8 deletions

View File

@ -3,13 +3,12 @@
FROM gcr.io/kubeflow-images-public/tensorflow-1.8.0-notebook-cpu
ENV KS_VER ks_0.12.0-rc1_linux_amd64
ENV KS_VER=0.12.0 KS_ARCH=linux_amd64
RUN cd /tmp && \
wget --quiet https://github.com/ksonnet/ksonnet/releases/download/v0.12.0-rc1/$KS_VER.tar.gz && \
tar -xvf $KS_VER.tar.gz && \
rm $KS_VER.tar.gz
ENV PATH $PATH:/tmp/$KS_VER
RUN apt-get update && apt-get install -y python-pip &&\
curl -LO "https://github.com/ksonnet/ksonnet/releases/download/v${KS_VER}/ks_${KS_VER}_${KS_ARCH}.tar.gz" &&\
tar -xvf ks_*.tar.gz && \
cp ks_*/ks /usr/local/bin &&\
rm -rf ks_*
RUN pip install --no-cache-dir annoy ktext nltk Pillow pydot

View File

@ -2,7 +2,7 @@
This is a Jupyter notebook image intended for Kubeflow codelabs. It is based off the
public TensorFlow notebook, with the following additional components installed:
* ksonnet (version 0.12.0-rc1)
* ksonnet (version 0.12.0)
* annoy
* ktext
* nltk