Skip to content

Commit

Permalink
chore: adding some packages for runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Hartorn committed May 3, 2020
1 parent 989ab16 commit c090a25
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-dockerfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ for python_version in "3.7" "3.8"; do
echo "" >>"${output_file}"
fi

echo "# Adding useful packages for the image" >>"${output_file}"
apt_install_packages ${output_file} "${INSTALL_PACKAGES}"
echo "" >>"${output_file}"

echo "Adding OneDNN to the dockerfile"
echo "# Adding MKL-DNN (now OneDNN) to the image" >>"${output_file}"
apt_install_temp_packages ${output_file} "${BUILD_PACKAGES}"
Expand Down
7 changes: 7 additions & 0 deletions dockerfiles/3.7/cpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,13 @@ RUN set -ex; \



# Adding useful packages for the image
RUN apt update \
&& apt install gcc g++ libgomp1 libopenblas-dev libomp-dev -y --no-install-recommends \
&& apt autoclean \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*

# Adding MKL-DNN (now OneDNN) to the image
RUN savedAptMark="$(apt-mark showmanual)" \
&& apt update \
Expand Down
7 changes: 7 additions & 0 deletions dockerfiles/3.7/gpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,13 @@ RUN apt update \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*

# Adding useful packages for the image
RUN apt update \
&& apt install gcc g++ libgomp1 libopenblas-dev libomp-dev -y --no-install-recommends \
&& apt autoclean \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*

# Adding MKL-DNN (now OneDNN) to the image
RUN savedAptMark="$(apt-mark showmanual)" \
&& apt update \
Expand Down
7 changes: 7 additions & 0 deletions dockerfiles/3.8/cpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,13 @@ RUN set -ex; \



# Adding useful packages for the image
RUN apt update \
&& apt install gcc g++ libgomp1 libopenblas-dev libomp-dev -y --no-install-recommends \
&& apt autoclean \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*

# Adding MKL-DNN (now OneDNN) to the image
RUN savedAptMark="$(apt-mark showmanual)" \
&& apt update \
Expand Down
7 changes: 7 additions & 0 deletions dockerfiles/3.8/gpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,13 @@ RUN apt update \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*

# Adding useful packages for the image
RUN apt update \
&& apt install gcc g++ libgomp1 libopenblas-dev libomp-dev -y --no-install-recommends \
&& apt autoclean \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*

# Adding MKL-DNN (now OneDNN) to the image
RUN savedAptMark="$(apt-mark showmanual)" \
&& apt update \
Expand Down

0 comments on commit c090a25

Please sign in to comment.