Skip to content

Commit ef7bcd9

Browse files
andylou2tfx-copybara
authored andcommitted
updated tf_serving dockerfile.
PiperOrigin-RevId: 431526858
1 parent e9c3944 commit ef7bcd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

struct2tensor/tools/tf_serving_docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5959
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 0 && \
6060
update-alternatives --install /usr/bin/python python /usr/bin/python3.6 0
6161

62-
RUN curl -fSsL -O https://bootstrap.pypa.io/get-pip.py && \
62+
RUN curl -fSsL -O https://bootstrap.pypa.io/pip/3.6/get-pip.py && \
6363
python3 get-pip.py && \
6464
rm get-pip.py
6565

6666
RUN pip3 --no-cache-dir install --upgrade numpy
6767

6868
# Set up Bazel
69-
ENV BAZEL_VERSION 3.7.2
69+
ENV BAZEL_VERSION 5.0.0
7070
WORKDIR /bazel
7171
RUN curl -fSsL -O https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel-$BAZEL_VERSION-installer-linux-x86_64.sh && \
7272
chmod +x bazel-*.sh && \

0 commit comments

Comments
 (0)