Skip to content

Commit

Permalink
Turn off ssl verification to fix conda http error (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcrankshaw authored and Corey-Zumar committed Jan 21, 2018
1 parent decbc4a commit 7161aeb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dockerfiles/PyClosureContainerDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ ARG CODE_VERSION
FROM clipper/py-rpc:${CODE_VERSION}

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

COPY containers/python/python_closure_container.py containers/python/python_closure_container_entry.sh /container/
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/PySparkContainerDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ 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 -y --file /lib/python_container_conda_deps.txt \
&& pip install pyspark \
&& conda install -c anaconda cloudpickle=0.5.2
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/PyTorchContainerDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ 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 -y --file /lib/python_container_conda_deps.txt \
&& conda install pytorch torchvision -c pytorch \
&& conda install -c anaconda cloudpickle=0.5.2
Expand Down
4 changes: 3 additions & 1 deletion dockerfiles/TensorFlowDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ ARG CODE_VERSION
FROM clipper/py-rpc:${CODE_VERSION}

COPY clipper_admin/clipper_admin/python_container_conda_deps.txt /lib/
RUN conda install -y --file /lib/python_container_conda_deps.txt

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
Expand Down

0 comments on commit 7161aeb

Please sign in to comment.