File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ TENSORT_RT_6_PACKAGES="libnvinfer6=6.0.1-1+cuda10.1 libnvinfer-dev=6.0.1-1+cuda1
1515
1616# Not sure on this : should gcc and g++ be included ?
1717# Useful for lot's of python install packages, let's go for yes
18- INSTALL_PACKAGES=" gcc g++ libgomp1 libopenblas-dev libomp-dev graphviz"
18+ INSTALL_PACKAGES=" gcc-8 g++-8 libgomp1 libopenblas-dev libomp-dev graphviz"
1919
2020# This are the temp package to install, when building packages or deps
21- BUILD_PACKAGES=" gcc g++ curl wget make cmake git gfortran"
21+ BUILD_PACKAGES=" gcc-8 g++-8 curl wget make cmake git gfortran"
2222
2323# MKL-DNN (or OneDNN now) version to use
2424ONE_DNN_VERSION=" v0.21.5"
Original file line number Diff line number Diff line change @@ -190,15 +190,15 @@ RUN set -ex; \
190190
191191# Adding useful packages for the image
192192RUN apt update \
193- && apt install gcc g++ libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
193+ && apt install gcc-8 g++-8 libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
194194&& apt autoclean \
195195&& apt clean \
196196&& rm -rf /var/lib/apt/lists/*
197197
198198# Adding MKL-DNN (now OneDNN) to the image
199199RUN savedAptMark="$(apt-mark showmanual)" \
200200&& apt update \
201- && apt install gcc g++ curl wget make cmake git gfortran -y --no-install-recommends \
201+ && apt install gcc-8 g++-8 curl wget make cmake git gfortran -y --no-install-recommends \
202202&& git clone https://github.com/01org/mkl-dnn.git -b v0.21.5 --depth 1 \
203203&& cd mkl-dnn/scripts && ./prepare_mkl.sh && cd .. \
204204&& mkdir -p build && cd build && cmake .. && make \
Original file line number Diff line number Diff line change @@ -197,15 +197,15 @@ RUN apt update \
197197
198198# Adding useful packages for the image
199199RUN apt update \
200- && apt install gcc g++ libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
200+ && apt install gcc-8 g++-8 libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
201201&& apt autoclean \
202202&& apt clean \
203203&& rm -rf /var/lib/apt/lists/*
204204
205205# Adding MKL-DNN (now OneDNN) to the image
206206RUN savedAptMark="$(apt-mark showmanual)" \
207207&& apt update \
208- && apt install gcc g++ curl wget make cmake git gfortran -y --no-install-recommends \
208+ && apt install gcc-8 g++-8 curl wget make cmake git gfortran -y --no-install-recommends \
209209&& git clone https://github.com/01org/mkl-dnn.git -b v0.21.5 --depth 1 \
210210&& cd mkl-dnn/scripts && ./prepare_mkl.sh && cd .. \
211211&& mkdir -p build && cd build && cmake .. && make \
Original file line number Diff line number Diff line change @@ -154,15 +154,15 @@ RUN set -ex; \
154154
155155# Adding useful packages for the image
156156RUN apt update \
157- && apt install gcc g++ libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
157+ && apt install gcc-8 g++-8 libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
158158&& apt autoclean \
159159&& apt clean \
160160&& rm -rf /var/lib/apt/lists/*
161161
162162# Adding MKL-DNN (now OneDNN) to the image
163163RUN savedAptMark="$(apt-mark showmanual)" \
164164&& apt update \
165- && apt install gcc g++ curl wget make cmake git gfortran -y --no-install-recommends \
165+ && apt install gcc-8 g++-8 curl wget make cmake git gfortran -y --no-install-recommends \
166166&& git clone https://github.com/01org/mkl-dnn.git -b v0.21.5 --depth 1 \
167167&& cd mkl-dnn/scripts && ./prepare_mkl.sh && cd .. \
168168&& mkdir -p build && cd build && cmake .. && make \
Original file line number Diff line number Diff line change @@ -161,15 +161,15 @@ RUN apt update \
161161
162162# Adding useful packages for the image
163163RUN apt update \
164- && apt install gcc g++ libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
164+ && apt install gcc-8 g++-8 libgomp1 libopenblas-dev libomp-dev graphviz -y --no-install-recommends \
165165&& apt autoclean \
166166&& apt clean \
167167&& rm -rf /var/lib/apt/lists/*
168168
169169# Adding MKL-DNN (now OneDNN) to the image
170170RUN savedAptMark="$(apt-mark showmanual)" \
171171&& apt update \
172- && apt install gcc g++ curl wget make cmake git gfortran -y --no-install-recommends \
172+ && apt install gcc-8 g++-8 curl wget make cmake git gfortran -y --no-install-recommends \
173173&& git clone https://github.com/01org/mkl-dnn.git -b v0.21.5 --depth 1 \
174174&& cd mkl-dnn/scripts && ./prepare_mkl.sh && cd .. \
175175&& mkdir -p build && cd build && cmake .. && make \
You can’t perform that action at this time.
0 commit comments