File tree 3 files changed +13
-3
lines changed
3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 17
17
DISTRO_VERSION :
18
18
- " 20.04"
19
19
- " 22.04"
20
+ - " 24.04"
20
21
RUNTIME_VERSION :
21
22
- " 3.9"
22
23
- " 3.10"
Original file line number Diff line number Diff line change @@ -17,8 +17,10 @@ RUN yum install -y \
17
17
freetype-devel \
18
18
yum-utils \
19
19
findutils \
20
- openssl-devel \
21
20
wget \
21
+ openssl11 \
22
+ openssl11-devel \
23
+ bzip2-devel \
22
24
libffi-devel \
23
25
sqlite-devel
24
26
Original file line number Diff line number Diff line change @@ -16,8 +16,15 @@ RUN add-apt-repository ppa:deadsnakes/ppa
16
16
RUN apt-get update && \
17
17
apt-get install -y \
18
18
curl \
19
- python${RUNTIME_VERSION} \
20
- python${RUNTIME_VERSION}-distutils
19
+ python${RUNTIME_VERSION}
20
+
21
+ # specific distutils package name for ubuntu24.04
22
+ RUN if [ ${RUNTIME_VERSION} == "3.12" ] && [ ${DISTRO_VERSION} == "24.04" ];
23
+ then \
24
+ apt-get install -y python3-distutils-extra \
25
+ else \
26
+ apt-get install -y python${RUNTIME_VERSION}-distutils \
27
+ fi
21
28
22
29
RUN ln -s /usr/bin/python${RUNTIME_VERSION} /usr/local/bin/python3
23
30
You can’t perform that action at this time.
0 commit comments