diff --git a/docker/standalone/cpu-centos/Dockerfile b/docker/standalone/cpu-centos/Dockerfile index c0dbff8d2..33953fef0 100644 --- a/docker/standalone/cpu-centos/Dockerfile +++ b/docker/standalone/cpu-centos/Dockerfile @@ -12,7 +12,6 @@ RUN rpm -iUvh https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-rel redhat-rpm-config \ tar \ findutils \ - make \ gcc-c++ \ cmake \ git \ @@ -26,30 +25,12 @@ RUN rpm -iUvh https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-rel net-tools \ ufw \ iptables \ - atlas-devel \ - boost-devel \ - gflags-devel \ - glog-devel \ - hdf5-devel \ - leveldb-devel \ - lmdb-devel \ - opencv-devel \ - protobuf-devel \ - snappy-devel \ - protobuf-compiler \ - freetype-devel \ - libpng-devel \ - python-devel \ - python-numpy \ - python-pip \ - python-scipy \ - gcc-gfortran \ - libjpeg-turbo-devel && \ + gcc-gfortran && \ yum clean all # Install conda and Intel Caffe conda package WORKDIR /root/ -RUN wget -c https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh && \ +RUN wget --no-check-certificate -c https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh && \ bash Miniconda2-latest-Linux-x86_64.sh -b && \ ./miniconda2/bin/conda config --add channels intel && \ ./miniconda2/bin/conda install -c intel caffe && \ diff --git a/docker/standalone/cpu-ubuntu/Dockerfile b/docker/standalone/cpu-ubuntu/Dockerfile index 239a07c1b..14fb0cca8 100644 --- a/docker/standalone/cpu-ubuntu/Dockerfile +++ b/docker/standalone/cpu-ubuntu/Dockerfile @@ -6,7 +6,7 @@ MAINTAINER caffe-maint@googlegroups.com RUN apt-get update && \ apt-get install -y --no-install-recommends \ - cpio \ + bzip2 \ build-essential \ cmake \ git \ @@ -17,31 +17,13 @@ RUN apt-get update && \ vim \ net-tools \ iputils-ping \ - screen \ - libmlx4-1 libmlx5-1 ibutils rdmacm-utils libibverbs1 ibverbs-utils perftest infiniband-diags \ - openmpi-bin libopenmpi-dev \ ufw \ - iptables \ - libboost-all-dev \ - libgflags-dev \ - libgoogle-glog-dev \ - libhdf5-serial-dev \ - libleveldb-dev \ - liblmdb-dev \ - libopencv-dev \ - libprotobuf-dev \ - libsnappy-dev \ - protobuf-compiler \ - python-dev \ - python-numpy \ - python-pip \ - python-setuptools \ - python-scipy && \ + iptables && \ rm -rf /var/lib/apt/lists/* # Install conda and Intel Caffe conda package WORKDIR /root/ -RUN wget -c https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh && \ +RUN wget --no-check-certificate -c https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh && \ bash Miniconda2-latest-Linux-x86_64.sh -b && \ ./miniconda2/bin/conda config --add channels intel && \ ./miniconda2/bin/conda install -c intel caffe && \