File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
struct2tensor/tools/tf_serving_docker Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -56,16 +56,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5656 apt-get clean && \
5757 rm -rf /var/lib/apt/lists/*
5858
59- # Install python 3.7 .
59+ # Install python 3.8 .
6060RUN add-apt-repository ppa:deadsnakes/ppa && \
6161 apt-get update && apt-get install -y \
62- python3.7 python3.7 -dev python3-pip python3.7 -venv && \
62+ python3.8 python3.8 -dev python3-pip python3.8 -venv && \
6363 rm -rf /var/lib/apt/lists/* && \
64- python3.7 -m pip install pip --upgrade && \
65- update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 0
64+ python3.8 -m pip install pip --upgrade && \
65+ update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 0
6666
67- # Make python3.7 the default python version
68- RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.7 0
67+ # Make python3.8 the default python version
68+ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.8 0
6969
7070RUN curl -fSsL -O https://bootstrap.pypa.io/get-pip.py && \
7171 python3 get-pip.py && \
@@ -74,7 +74,7 @@ RUN curl -fSsL -O https://bootstrap.pypa.io/get-pip.py && \
7474RUN pip3 --no-cache-dir install --upgrade numpy
7575
7676# Set up Bazel
77- ENV BAZEL_VERSION 5.3 .0
77+ ENV BAZEL_VERSION 6.1 .0
7878WORKDIR /bazel
7979RUN curl -fSsL -O https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel-$BAZEL_VERSION-installer-linux-x86_64.sh && \
8080 chmod +x bazel-*.sh && \
You can’t perform that action at this time.
0 commit comments