File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,13 @@ RUN apt-get update \
1111 && apt-get dist-upgrade -y ca-certificates
1212
1313# Install curl and python3
14- RUN apt-get install -y curl python3-setuptools libpython3.9 python3.9-dev \
15- && apt-get install -y build-essential gcc \
14+ RUN apt-get install -y curl python3-setuptools libpython3.9 python3.9-dev \
1615 && curl https://bootstrap.pypa.io/get-pip.py | python3 \
17- && GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 pip3 install grpcio protobuf==3.20.1
16+ && pip3 install --only-binary ":all:" grpcio protobuf==3.20.1
1817
1918
2019# Remove some things to decrease CVE surface
21- RUN apt-get remove -y --auto-remove --allow-remove-essential build-essential gcc curl libtiff5 ncurses-base \
20+ RUN apt-get remove -y --auto-remove --allow-remove-essential curl libtiff5 ncurses-base \
2221 && rm /usr/bin/passwd && rm /usr/sbin/adduser
2322
2423# Clean up caches, unwanted .a and .o files
You can’t perform that action at this time.
0 commit comments