You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contrib/Dockerfile
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
16
16
# Docker image used for running tests the under all the supported Python
17
17
# versions
18
-
FROM ubuntu:22.04
18
+
FROM ubuntu:24.04
19
19
20
20
ARG DEBIAN_FRONTEND=noninteractive
21
21
@@ -42,8 +42,6 @@ RUN set -e && \
42
42
pypy3 \
43
43
pypy3-dev \
44
44
python3-pip \
45
-
python3-distutils \
46
-
python3.10-distutils \
47
45
libvirt-dev \
48
46
# Needed by libvirt driver
49
47
pkg-config
@@ -54,9 +52,10 @@ COPY . /libcloud
54
52
RUN if [ ! -f "/libcloud/README.rst" ]; then echo "libcloud/README.rst file not found, you are likely not running docker build from the repository root directory"; exit 1; fi
55
53
56
54
WORKDIR /libcloud
55
+
ENV PATH="/libcloud/.venv/bin:${PATH}"
57
56
58
57
RUN set -e && \
59
-
python3.10 -m pip install uv && \
60
-
python3.10 -m uv pip install --no-cache-dir --group ci "."
0 commit comments