Skip to content

Commit

Permalink
Fix installation order errors in deployer containers (#426)
Browse files Browse the repository at this point in the history
* Fix installation order errors in deployer containers

* Remove trailing space
  • Loading branch information
Corey-Zumar authored and dcrankshaw committed Mar 7, 2018
1 parent d16734d commit 2fd0f4d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
3 changes: 2 additions & 1 deletion dockerfiles/Caffe2OnnxDockerfile
Expand Up @@ -6,8 +6,9 @@ COPY clipper_admin/clipper_admin/python_container_conda_deps.txt /lib/
RUN echo deb http://ftp.de.debian.org/debian jessie-backports main >> /etc/apt/sources.list \
&& apt-get update --fix-missing \
&& apt-get install -yqq -t jessie-backports openjdk-8-jdk \
&& conda install -y --file /lib/python_container_conda_deps.txt \
&& conda config --set ssl_verify no \
&& conda install -c anaconda cloudpickle=0.5.2 \
&& conda install -y --file /lib/python_container_conda_deps.txt \
&& conda install -c conda-forge onnx \
&& conda install -c caffe2 caffe2 \
&& pip install onnx-caffe2 \
Expand Down
6 changes: 3 additions & 3 deletions dockerfiles/MXNetContainerDockerfile
Expand Up @@ -6,12 +6,12 @@ COPY clipper_admin/clipper_admin/python_container_conda_deps.txt /lib/
RUN echo deb http://ftp.de.debian.org/debian jessie-backports main >> /etc/apt/sources.list \
&& apt-get update --fix-missing \
&& apt-get install -yqq -t jessie-backports openjdk-8-jdk \
&& conda config --set ssl_verify no \
&& conda install -c anaconda cloudpickle=0.5.2 \
&& conda install -y --file /lib/python_container_conda_deps.txt \
&& pip install mxnet==1.0.0 \
&& apt-get install -y graphviz \
&& pip install graphviz \
&& conda install -c anaconda cloudpickle=0.5.2

&& pip install graphviz

COPY containers/python/mxnet_container.py containers/python/mxnet_container_entry.sh /container/

Expand Down
4 changes: 2 additions & 2 deletions dockerfiles/PySparkContainerDockerfile
Expand Up @@ -7,9 +7,9 @@ RUN echo deb http://ftp.de.debian.org/debian jessie-backports main >> /etc/apt/s
&& apt-get update --fix-missing \
&& apt-get install -yqq -t jessie-backports openjdk-8-jdk \
&& conda config --set ssl_verify no \
&& conda install -c anaconda cloudpickle=0.5.2 \
&& conda install -y --file /lib/python_container_conda_deps.txt \
&& pip install pyspark \
&& conda install -c anaconda cloudpickle=0.5.2
&& pip install pyspark

COPY containers/python/pyspark_container.py containers/python/pyspark_container_entry.sh /container/

Expand Down
4 changes: 2 additions & 2 deletions dockerfiles/PyTorchContainerDockerfile
Expand Up @@ -7,9 +7,9 @@ RUN echo deb http://ftp.de.debian.org/debian jessie-backports main >> /etc/apt/s
&& apt-get update --fix-missing \
&& apt-get install -yqq -t jessie-backports openjdk-8-jdk \
&& conda config --set ssl_verify no \
&& conda install -c anaconda cloudpickle=0.5.2 \
&& conda install -y --file /lib/python_container_conda_deps.txt \
&& conda install pytorch torchvision -c pytorch \
&& conda install -c anaconda cloudpickle=0.5.2
&& conda install pytorch torchvision -c pytorch


COPY containers/python/pytorch_container.py containers/python/pytorch_container_entry.sh /container/
Expand Down
9 changes: 4 additions & 5 deletions dockerfiles/TensorFlowDockerfile
Expand Up @@ -3,11 +3,10 @@ FROM clipper/py-rpc:${CODE_VERSION}

COPY clipper_admin/clipper_admin/python_container_conda_deps.txt /lib/

RUN conda config --set ssl_verify no \
&& conda install -y --file /lib/python_container_conda_deps.txt

RUN conda install tensorflow \
&& conda install -c anaconda cloudpickle=0.5.2
RUN conda config --set ssl_verify no \
&& conda install -c anaconda cloudpickle=0.5.2 \
&& conda install -y --file /lib/python_container_conda_deps.txt \
&& conda install tensorflow

COPY containers/python/tf_container.py containers/python/tf_container_entry.sh /container/

Expand Down

0 comments on commit 2fd0f4d

Please sign in to comment.