File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
tensorflow_serving/tools/docker Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -78,22 +78,19 @@ RUN apt-get install -y --no-install-recommends \
7878 openjdk-11-jdk\
7979 openjdk-11-jre-headless \
8080 pkg-config \
81- python3-dev \
8281 software-properties-common \
8382 swig \
8483 unzip \
8584 wget \
8685 zip \
87- zlib1g-dev \
88- python3-distutils \
89- python3-distutils-extra && \
86+ zlib1g-dev && \
9087 find /usr/local/cuda-12.2/lib64/ -type f -name 'lib*_static.a' -not -name 'libcudart_static.a' -delete
9188
9289
9390# Install python 3.9.
9491RUN add-apt-repository ppa:deadsnakes/ppa && \
9592 apt-get update && apt-get install -y \
96- python3.9 python3.9-dev python3-pip python3.9-venv && \
93+ python3.9 python3.9-dev python3-pip python3.9-venv python3-distutils python3-distutils-extra python3-dev && \
9794 rm -rf /var/lib/apt/lists/* && \
9895 python3.9 -m pip install pip --upgrade && \
9996 update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 0
You can’t perform that action at this time.
0 commit comments