|
|
|
@ -50,14 +50,12 @@ RUN wget -q https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz && \
|
|
|
|
|
tar -xzf Python-3.7.0.tgz && cd Python-3.7.0 && \
|
|
|
|
|
CFLAGS="-Wformat" ./configure --prefix=/usr/local/ --enable-shared > /dev/null && \
|
|
|
|
|
make -j8 > /dev/null && make altinstall > /dev/null
|
|
|
|
|
|
|
|
|
|
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 \
|
|
|
|
|
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 \
|
|
|
|
|
curl sed grep graphviz libjpeg-dev zlib1g-dev \
|
|
|
|
|
python-matplotlib gcc-4.8 g++-4.8 \
|
|
|
|
|