Skip to content

Commit c090a25

Browse files
committed
chore: adding some packages for runtime
1 parent 989ab16 commit c090a25

File tree

5 files changed

+32
-0
lines changed

5 files changed

+32
-0
lines changed

‎build-dockerfiles.sh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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}"

‎dockerfiles/3.7/cpu/Dockerfile‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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
191198
RUN savedAptMark="$(apt-mark showmanual)" \
192199
&& apt update \

‎dockerfiles/3.7/gpu/Dockerfile‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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
198205
RUN savedAptMark="$(apt-mark showmanual)" \
199206
&& apt update \

‎dockerfiles/3.8/cpu/Dockerfile‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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
155162
RUN savedAptMark="$(apt-mark showmanual)" \
156163
&& apt update \

‎dockerfiles/3.8/gpu/Dockerfile‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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
162169
RUN savedAptMark="$(apt-mark showmanual)" \
163170
&& apt update \

0 commit comments

Comments
 (0)