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 \
78
78
openjdk-11-jdk\
79
79
openjdk-11-jre-headless \
80
80
pkg-config \
81
- python3-dev \
82
81
software-properties-common \
83
82
swig \
84
83
unzip \
85
84
wget \
86
85
zip \
87
- zlib1g-dev \
88
- python3-distutils \
89
- python3-distutils-extra && \
86
+ zlib1g-dev && \
90
87
find /usr/local/cuda-12.2/lib64/ -type f -name 'lib*_static.a' -not -name 'libcudart_static.a' -delete
91
88
92
89
93
90
# Install python 3.9.
94
91
RUN add-apt-repository ppa:deadsnakes/ppa && \
95
92
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 && \
97
94
rm -rf /var/lib/apt/lists/* && \
98
95
python3.9 -m pip install pip --upgrade && \
99
96
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 0
You can’t perform that action at this time.
0 commit comments