File tree Expand file tree Collapse file tree 5 files changed +32
-0
lines changed Expand file tree Collapse file tree 5 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ for python_version in "3.7" "3.8"; do
5858 echo " " >> " ${output_file} "
5959 fi
6060
61+ echo " # Adding useful packages for the image" >> " ${output_file} "
62+ apt_install_packages ${output_file} " ${INSTALL_PACKAGES} "
63+ echo " " >> " ${output_file} "
64+
6165 echo " Adding OneDNN to the dockerfile"
6266 echo " # Adding MKL-DNN (now OneDNN) to the image" >> " ${output_file} "
6367 apt_install_temp_packages ${output_file} " ${BUILD_PACKAGES} "
Original file line number Diff line number Diff line change @@ -187,6 +187,13 @@ RUN set -ex; \
187187
188188
189189
190+ # Adding useful packages for the image
191+ RUN apt update \
192+ && apt install gcc g++ libgomp1 libopenblas-dev libomp-dev -y --no-install-recommends \
193+ && apt autoclean \
194+ && apt clean \
195+ && rm -rf /var/lib/apt/lists/*
196+
190197# Adding MKL-DNN (now OneDNN) to the image
191198RUN savedAptMark="$(apt-mark showmanual)" \
192199&& apt update \
Original file line number Diff line number Diff line change @@ -194,6 +194,13 @@ RUN apt update \
194194&& apt clean \
195195&& rm -rf /var/lib/apt/lists/*
196196
197+ # Adding useful packages for the image
198+ RUN apt update \
199+ && apt install gcc g++ libgomp1 libopenblas-dev libomp-dev -y --no-install-recommends \
200+ && apt autoclean \
201+ && apt clean \
202+ && rm -rf /var/lib/apt/lists/*
203+
197204# Adding MKL-DNN (now OneDNN) to the image
198205RUN savedAptMark="$(apt-mark showmanual)" \
199206&& apt update \
Original file line number Diff line number Diff line change @@ -151,6 +151,13 @@ RUN set -ex; \
151151
152152
153153
154+ # Adding useful packages for the image
155+ RUN apt update \
156+ && apt install gcc g++ libgomp1 libopenblas-dev libomp-dev -y --no-install-recommends \
157+ && apt autoclean \
158+ && apt clean \
159+ && rm -rf /var/lib/apt/lists/*
160+
154161# Adding MKL-DNN (now OneDNN) to the image
155162RUN savedAptMark="$(apt-mark showmanual)" \
156163&& apt update \
Original file line number Diff line number Diff line change @@ -158,6 +158,13 @@ RUN apt update \
158158&& apt clean \
159159&& rm -rf /var/lib/apt/lists/*
160160
161+ # Adding useful packages for the image
162+ RUN apt update \
163+ && apt install gcc g++ libgomp1 libopenblas-dev libomp-dev -y --no-install-recommends \
164+ && apt autoclean \
165+ && apt clean \
166+ && rm -rf /var/lib/apt/lists/*
167+
161168# Adding MKL-DNN (now OneDNN) to the image
162169RUN savedAptMark="$(apt-mark showmanual)" \
163170&& apt update \
You can’t perform that action at this time.
0 commit comments