Skip to content

Commit 58eda64

Browse files
authored
fix: install pip explicitly (#280)
1 parent 865aa40 commit 58eda64

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

images/base/ubuntu.Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ ENV DEBIAN_FRONTEND=noninteractive
55

66
# Install the Docker apt repository
77
RUN apt-get update && \
8-
apt-get upgrade --yes && \
9-
apt-get install --yes ca-certificates && \
8+
apt-get upgrade --yes --no-install-recommends --no-install-suggests && \
9+
apt-get install --yes --no-install-recommends --no-install-suggests \
10+
ca-certificates && \
1011
rm -rf /var/lib/apt/lists/*
1112
COPY docker-archive-keyring.gpg /usr/share/keyrings/docker-archive-keyring.gpg
1213
COPY docker.list /etc/apt/sources.list.d/docker.list
1314

1415
# Install baseline packages
1516
RUN apt-get update && \
16-
apt-get install --yes \
17+
apt-get install --yes --no-install-recommends --no-install-suggests \
1718
bash \
1819
build-essential \
19-
ca-certificates \
2020
containerd.io \
2121
curl \
2222
docker-ce \
@@ -28,6 +28,8 @@ RUN apt-get update && \
2828
locales \
2929
man \
3030
pipx \
31+
python3 \
32+
python3-pip \
3133
software-properties-common \
3234
sudo \
3335
systemd \

0 commit comments

Comments
 (0)