mirror of https://github.com/kubeflow/examples.git
Update Ksonnet version, Add Python2 pip (#216)
* Update Ksonnet version, Add Python2 pip * Update ks version in README
This commit is contained in:
parent
082561a75b
commit
cfdcb1292c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue