-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
224 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
FROM centos:7 | ||
|
||
USER root | ||
|
||
RUN yum -y install epel-release &&\ | ||
yum upgrade -y | ||
|
||
RUN yum install -y \ | ||
redhat-rpm-config \ | ||
cmake \ | ||
git \ | ||
wget \ | ||
ssh \ | ||
gcc-c++ \ | ||
boost-devel \ | ||
gflags-devel \ | ||
glog-devel \ | ||
hdf5-devel \ | ||
opencv-devel \ | ||
protobuf-devel \ | ||
liblapack-dev \ | ||
libssl-dev \ | ||
protobuf-compiler \ | ||
python-devel \ | ||
python-numpy \ | ||
python-pip \ | ||
python-setuptools \ | ||
openssl \ | ||
gcc-gfortran \ | ||
pcre \ | ||
pcre-devel | ||
|
||
RUN yum clean all | ||
|
||
RUN export LD_LIBRARY_PATH="$HOME/.chainer/lib:$HOME/.local/lib:/usr/local/lib" && \ | ||
export LIBRARY_PATH="$LD_LIBRARY_PATH" | ||
|
||
RUN mkdir Downloads && \ | ||
cd Downloads && \ | ||
wget https://nchc.dl.sourceforge.net/project/swig/swig/swig-3.0.12/swig-3.0.12.tar.gz && \ | ||
tar -xf swig-3.0.12.tar.gz && \ | ||
cd swig-3.0.12/ && \ | ||
./configure && \ | ||
make -j && \ | ||
make install && \ | ||
cd ../../ | ||
|
||
RUN pip install --default-timeout=10000 six \ | ||
h5py \ | ||
nose \ | ||
protobuf \ | ||
Pillow \ | ||
filelock | ||
|
||
RUN pip install chainer==4.0.0b4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
FROM ubuntu:16.04 | ||
|
||
RUN apt-get update -y && \ | ||
apt-get install -y --no-install-recommends \ | ||
build-essential \ | ||
cmake \ | ||
git \ | ||
wget \ | ||
vim \ | ||
ssh \ | ||
libboost-all-dev \ | ||
libgflags-dev \ | ||
libgoogle-glog-dev \ | ||
libhdf5-serial-dev \ | ||
libopencv-dev \ | ||
libprotobuf-dev \ | ||
liblapack-dev \ | ||
libssl-dev \ | ||
protobuf-compiler \ | ||
python-dev \ | ||
python-numpy \ | ||
python-pip \ | ||
python-setuptools \ | ||
openssl \ | ||
curl && \ | ||
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* | ||
|
||
RUN export LD_LIBRARY_PATH="$HOME/.chainer/lib:$HOME/.local/lib:/usr/local/lib" && \ | ||
export LIBRARY_PATH="$LD_LIBRARY_PATH" | ||
|
||
RUN mkdir Downloads && \ | ||
cd Downloads && \ | ||
wget https://nchc.dl.sourceforge.net/project/swig/swig/swig-3.0.12/swig-3.0.12.tar.gz && \ | ||
tar -xf swig-3.0.12.tar.gz && \ | ||
cd swig-3.0.12/ && \ | ||
./configure && \ | ||
make -j && \ | ||
make install && \ | ||
cd ../../ | ||
|
||
RUN pip install --upgrade pip setuptools | ||
|
||
RUN pip install --default-timeout=10000 wheel \ | ||
six \ | ||
h5py \ | ||
nose \ | ||
protobuf \ | ||
Pillow \ | ||
filelock \ | ||
distribute | ||
|
||
RUN pip install chainer==4.0.0b4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
FROM centos:7 | ||
|
||
USER root | ||
|
||
RUN yum -y install epel-release &&\ | ||
yum upgrade -y | ||
|
||
RUN yum install -y \ | ||
redhat-rpm-config \ | ||
cmake \ | ||
git \ | ||
wget \ | ||
ssh \ | ||
gcc-c++ \ | ||
boost-devel \ | ||
gflags-devel \ | ||
glog-devel \ | ||
hdf5-devel \ | ||
protobuf-devel \ | ||
liblapack-dev \ | ||
libssl-dev \ | ||
protobuf-compiler \ | ||
openssl \ | ||
openssl-devel \ | ||
bzip2-devel \ | ||
expat-devel \ | ||
gdbm-devel \ | ||
readline-devel \ | ||
sqlite-devel \ | ||
gcc-gfortran \ | ||
pcre \ | ||
pcre-devel \ | ||
|
||
RUN yum clean all | ||
|
||
RUN mkdir Downloads && \ | ||
cd Downloads && \ | ||
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz && \ | ||
tar -zxvf Python-3.5.2.tgz && \ | ||
cd Python-3.5.2 && \ | ||
./configure --prefix=/usr/local/python3.5 --enable-optimizations && \ | ||
make -j && \ | ||
make install && \ | ||
ln -s /usr/local/python3.5/bin/python3 /usr/bin/python3 && \ | ||
ln -s /usr/local/python3.5/bin/pip3.5 /usr/bin/pip3 && \ | ||
cd ../ | ||
|
||
RUN export LD_LIBRARY_PATH="$HOME/.chainer/lib:$HOME/.local/lib:/usr/local/lib" && \ | ||
export LIBRARY_PATH="$LD_LIBRARY_PATH" | ||
|
||
RUN wget https://nchc.dl.sourceforge.net/project/swig/swig/swig-3.0.12/swig-3.0.12.tar.gz && \ | ||
tar -xf swig-3.0.12.tar.gz && \ | ||
cd swig-3.0.12/ && \ | ||
./configure && \ | ||
make -j && \ | ||
make install && \ | ||
cd ../../ | ||
|
||
RUN pip3 install --default-timeout=10000 six \ | ||
h5py \ | ||
nose \ | ||
protobuf \ | ||
Pillow \ | ||
filelock | ||
|
||
RUN pip3 install chainer==4.0.0b4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
FROM ubuntu:16.04 | ||
|
||
RUN apt-get update -y && \ | ||
apt-get install -y --no-install-recommends \ | ||
build-essential \ | ||
cmake \ | ||
git \ | ||
wget \ | ||
ssh \ | ||
libboost-all-dev \ | ||
libgflags-dev \ | ||
libgoogle-glog-dev \ | ||
libhdf5-serial-dev \ | ||
libopencv-dev \ | ||
libprotobuf-dev \ | ||
liblapack-dev \ | ||
libssl-dev \ | ||
protobuf-compiler \ | ||
python3-dev \ | ||
python3-numpy \ | ||
python3-pip \ | ||
python3-setuptools \ | ||
openssl \ | ||
curl && \ | ||
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* | ||
|
||
RUN export LD_LIBRARY_PATH="$HOME/.chainer/lib:$HOME/.local/lib:/usr/local/lib" && \ | ||
export LIBRARY_PATH="$LD_LIBRARY_PATH" | ||
|
||
RUN mkdir Downloads && \ | ||
cd Downloads && \ | ||
wget https://nchc.dl.sourceforge.net/project/swig/swig/swig-3.0.12/swig-3.0.12.tar.gz && \ | ||
tar -xf swig-3.0.12.tar.gz && \ | ||
cd swig-3.0.12/ && \ | ||
./configure && \ | ||
make -j && \ | ||
make install && \ | ||
cd ../../ | ||
|
||
RUN pip3 install --upgrade pip setuptools | ||
|
||
RUN pip3 install --default-timeout=10000 wheel \ | ||
six \ | ||
h5py \ | ||
nose \ | ||
protobuf \ | ||
Pillow \ | ||
filelock \ | ||
distribute | ||
|
||
RUN pip3 install chainer==4.0.0b4 |