|
|
|
@ -213,6 +213,13 @@ RUN wget -q https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/binutils/
|
|
|
|
|
cd binutils-2.27 && \
|
|
|
|
|
./configure && make -j && make install && cd .. && rm -rf binutils-2.27 binutils_2.27.orig.tar.gz
|
|
|
|
|
|
|
|
|
|
RUN wget --no-check-certificate https://pslib.bj.bcebos.com/openmpi-1.4.5.tar.gz && tar -xzf openmpi-1.4.5.tar.gz && \
|
|
|
|
|
cd openmpi-1.4.5 && ./configure --prefix=/usr/local && make all -j8 && make install -j8 && \
|
|
|
|
|
export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH && export PATH=/usr/local/bin:$PATH && cd .. && \
|
|
|
|
|
rm -rf openmpi-1.4.5.tar.gz && pip --no-cache-dir install mpi4py && ln -fs /bin/bash /bin/sh && \
|
|
|
|
|
apt-get install libprotobuf-dev -y
|
|
|
|
|
RUN pip --no-cache-dir install -U netifaces==0.10.9
|
|
|
|
|
|
|
|
|
|
# Configure OpenSSH server. c.f. https://docs.docker.com/engine/examples/running_ssh_service
|
|
|
|
|
RUN mkdir /var/run/sshd
|
|
|
|
|
RUN echo 'root:root' | chpasswd
|
|
|
|
|