Skip to content

Commit a96937b

Browse files
authored
Update Dockerfile.std
1 parent c02d2c1 commit a96937b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ci/Dockerfile.std

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)