Skip to content

Commit b9bf61e

Browse files
authored
fix: install python3-libselinux to avoid exception
``` Exception: Failed to detect selinux python bindings at ```
1 parent 7676aa8 commit b9bf61e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/kayobe/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ RUN dnf install epel-release -y && \
3333
dnf install -y gcc git vim python3-pyyaml findutils\
3434
libffi-devel sudo which openssh-server e2fsprogs \
3535
diffstat diffutils debootstrap procps-ng gdisk util-linux \
36-
dosfstools lvm2 kpartx systemd-udev bash-completion rsync && \
36+
dosfstools lvm2 kpartx systemd-udev bash-completion rsync \
37+
python3-libselinux && \
3738
if [ "$(grep "^PRETTY_NAME=\"Rocky Linux 9" /etc/os-release)" ] ; then \
3839
dnf install -y python3 python3-pip iproute ; else \
3940
dnf install -y python3-virtualenv ; fi && \

0 commit comments

Comments
 (0)