|
|
|
@ -55,7 +55,7 @@ RUN rm -r /root/python_build
|
|
|
|
|
|
|
|
|
|
RUN apt-get update && \
|
|
|
|
|
apt-get install -y --allow-downgrades --allow-change-held-packages \
|
|
|
|
|
patchelf python3 python3-dev python3-pip \
|
|
|
|
|
python3 python3-dev python3-pip \
|
|
|
|
|
git python-pip python-dev python-opencv openssh-server bison \
|
|
|
|
|
libnccl2=2.1.2-1+cuda8.0 libnccl-dev=2.1.2-1+cuda8.0 \
|
|
|
|
|
wget unzip unrar tar xz-utils bzip2 gzip coreutils ntp \
|
|
|
|
@ -207,6 +207,12 @@ 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
|
|
|
|
|
|
|
|
|
|
# Older versions of patchelf limited the size of the files being processed and were fixed in this pr.
|
|
|
|
|
# https://github.com/NixOS/patchelf/commit/ba2695a8110abbc8cc6baf0eea819922ee5007fa
|
|
|
|
|
# So install a newer version here.
|
|
|
|
|
RUN wget -q http://mirrors.kernel.org/ubuntu/pool/universe/p/patchelf/patchelf_0.10-2_amd64.deb && \
|
|
|
|
|
dpkg -i patchelf_0.10-2_amd64.deb
|
|
|
|
|
|
|
|
|
|
# Configure OpenSSH server. c.f. https://docs.docker.com/engine/examples/running_ssh_service
|
|
|
|
|
RUN mkdir /var/run/sshd
|
|
|
|
|
RUN echo 'root:root' | chpasswd
|
|
|
|
|