11# DO NOT MODIFY MANUALLY
22# GENERATED FROM SCRIPTS
3- FROM ubuntu:18.04@sha256:b58746c8a89938b8c9f5b77de3b8cf1fe78210c696ab03a1442e235eea65d84f
3+ FROM ubuntu:18.04@sha256:3235326357dfb65f1781dbc4df3b834546d8bf914e82cce58e6e6b676e23ce8f
44
55# Avoid tzdata interactive action
66ENV DEBIAN_FRONTEND noninteractive
@@ -9,8 +9,8 @@ ENV DEBIAN_FRONTEND noninteractive
99
1010# Dockerfile generated fragment to install Python and Pip
1111# Source: https://raw.githubusercontent.com/docker-library/python/master/3.8/buster/slim/Dockerfile
12- # Python: 3.8.2
13- # Pip: 20.1
12+ # Python: 3.8.3
13+ # Pip: 20.1.1
1414
1515
1616
@@ -29,7 +29,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2929 && rm -rf /var/lib/apt/lists/*
3030
3131ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568
32- ENV PYTHON_VERSION 3.8.2
32+ ENV PYTHON_VERSION 3.8.3
3333
3434RUN set -ex \
3535 \
@@ -82,6 +82,7 @@ RUN set -ex \
8282 --with-system-ffi \
8383 --without-ensurepip \
8484 && make -j "$(nproc)" \
85+ LDFLAGS="-Wl,--strip-all" \
8586 && make install \
8687 && ldconfig \
8788 \
@@ -115,10 +116,10 @@ RUN cd /usr/local/bin \
115116 && ln -s python3-config python-config
116117
117118# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
118- ENV PYTHON_PIP_VERSION 20.1
119+ ENV PYTHON_PIP_VERSION 20.1.1
119120# https://github.com/pypa/get-pip
120- ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/1fe530e9e3d800be94e04f6428460fc4fb94f5a9 /get-pip.py
121- ENV PYTHON_GET_PIP_SHA256 ce486cddac44e99496a702aa5c06c5028414ef48fdfd5242cd2fe559b13d4348
121+ ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/eff16c878c7fd6b688b9b4c4267695cf1a0bf01b /get-pip.py
122+ ENV PYTHON_GET_PIP_SHA256 b3153ec0cf7b7bbf9556932aa37e4981c35dc2a2c501d70d91d2795aa532be79
122123
123124RUN set -ex; \
124125 \
@@ -153,7 +154,7 @@ RUN set -ex; \
153154
154155# Adding useful packages for the image
155156RUN apt update \
156- && apt install gcc g++ libgomp1 libopenblas-dev libomp-dev -y --no-install-recommends \
157+ && apt install gcc g++ libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
157158&& apt autoclean \
158159&& apt clean \
159160&& rm -rf /var/lib/apt/lists/*
@@ -162,9 +163,10 @@ RUN apt update \
162163RUN savedAptMark="$(apt-mark showmanual)" \
163164&& apt update \
164165&& apt install gcc g++ curl wget make cmake git gfortran -y --no-install-recommends \
165- && git clone https://github.com/01org/mkl-dnn.git -b v0.21.5 --depth 1 \
166- && cd mkl-dnn/scripts && ./prepare_mkl.sh && cd .. \
167- && mkdir -p build && cd build && cmake .. && make \
166+ && git clone https://github.com/01org/mkl-dnn.git -b v1.4 --depth 1 \
167+ && cd mkl-dnn && mkdir -p build && cd build \
168+ && cmake .. \
169+ && make -j \
168170&& make install \
169171&& apt-mark auto '.*' > /dev/null \
170172&& apt-mark manual $savedAptMark \
0 commit comments