Skip to content

Commit 3f8afc1

Browse files
committed
build: Install the requests system-package instead of pip
1 parent 9e9cb9d commit 3f8afc1

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Dockerfile

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
FROM ubuntu:24.04
22

3-
RUN apt update
4-
5-
RUN apt install -y \
3+
RUN apt update && apt install -y \
64
binutils-multiarch \
75
bison \
86
file \
@@ -27,15 +25,12 @@ RUN apt install -y \
2725
pkg-config \
2826
python3.12 \
2927
python3-pip \
28+
python3-requests \
3029
libpython3-dev \
3130
texinfo \
3231
wget \
3332
xz-utils
3433

35-
# Remove externally-managed constrainsts since we run inside a docker...
36-
RUN rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED
37-
RUN python3.12 -m pip install requests
38-
3934
COPY src/docker_utils/download_musl_toolchains.py .
4035
RUN python3.12 -u download_musl_toolchains.py
4136

0 commit comments

Comments
 (0)