Skip to content

Commit af9d05d

Browse files
author
3np
committed
docker: uninstall build dependencies from runtime image
1 parent cb405e8 commit af9d05d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends gnupg ca-certif
99
python3-pip=* python3=* \
1010
&& pip3 config set global.break-system-packages true \
1111
&& ./install.sh --docker-install \
12-
&& apt-get purge -y --autoremove python3-pip \
12+
&& apt-get purge -y --autoremove \
13+
python3-pip python3-dev python3-pip \
14+
automake build-essential cpp pkg-config libffi-dev libssl-dev \
1315
&& apt-get clean \
1416
&& rm -rf /var/lib/apt/lists/*
1517

0 commit comments

Comments
 (0)