Skip to content

Commit

Permalink
Update Dockerfile.devel to build with gcc-10
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 675740784
  • Loading branch information
ddunl authored and tensorflow-copybara committed Sep 17, 2024
1 parent 6d60ebb commit f9c0262
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tensorflow_serving/tools/docker/Dockerfile.devel
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
git \
gcc-10 \
g++-10 \
libcurl3-dev \
libfreetype6-dev \
libpng-dev \
Expand Down Expand Up @@ -105,6 +107,7 @@ RUN bazel build --color=yes --curses=yes \
--verbose_failures \
--output_filter=DONT_MATCH_ANYTHING \
${TF_SERVING_BUILD_OPTIONS} \
--config=kokoro \
tensorflow_serving/model_servers:tensorflow_model_server && \
cp bazel-bin/tensorflow_serving/model_servers/tensorflow_model_server \
/usr/local/bin/
Expand All @@ -115,6 +118,7 @@ RUN bazel build --color=yes --curses=yes \
--verbose_failures \
--output_filter=DONT_MATCH_ANYTHING \
${TF_SERVING_BUILD_OPTIONS} \
--config=kokoro \
tensorflow_serving/tools/pip_package:build_pip_package && \
bazel-bin/tensorflow_serving/tools/pip_package/build_pip_package \
/tmp/pip && \
Expand Down

0 comments on commit f9c0262

Please sign in to comment.