Skip to content

Commit a141996

Browse files
committed
Install python3.12-pyyaml when USE_PYTHON_312 is true
1 parent 90139e6 commit a141996

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docker/kayobe/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ RUN dnf install epel-release -y && \
3434
if [ "$USE_PYTHON_312" = "true" ] ; then \
3535
dnf -y install python3.12 && \
3636
ln -sf /bin/python3.12 /bin/python3 && \
37-
python3 -m ensurepip ; fi && \
38-
dnf install -y gcc git vim python3-pyyaml findutils\
37+
python3 -m ensurepip && \
38+
dnf -y install python3.12-pyyaml ; else \
39+
dnf -y install python3-pyyaml ; fi && \
40+
dnf install -y gcc git vim findutils\
3941
libffi-devel sudo which openssh-server e2fsprogs \
4042
diffstat diffutils debootstrap procps-ng gdisk util-linux \
4143
dosfstools lvm2 kpartx systemd-udev bash-completion rsync \

0 commit comments

Comments
 (0)