Merge "rocky-container: Add installation of Minimal Install group"

This commit is contained in:
Zuul 2024-02-23 22:12:41 +00:00 committed by Gerrit Code Review
commit 0168c3057d
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,8 @@
FROM docker.io/library/rockylinux:8
RUN dnf install -y findutils util-linux sudo python3 NetworkManager NetworkManager-config-server
RUN dnf group install -y 'Minimal Install' --allowerasing && \
dnf install -y findutils util-linux sudo python3 NetworkManager \
NetworkManager-config-server
RUN systemctl unmask console-getty.service dev-hugepages.mount \
getty.target sys-fs-fuse-connections.mount systemd-logind.service \

View File

@ -1,6 +1,8 @@
FROM docker.io/rockylinux/rockylinux:9
RUN dnf install -y findutils util-linux sudo python3 NetworkManager NetworkManager-config-server
RUN dnf group install -y 'Minimal Install' --allowerasing && \
dnf install -y findutils util-linux sudo python3 NetworkManager \
NetworkManager-config-server
RUN systemctl unmask console-getty.service dev-hugepages.mount \
getty.target sys-fs-fuse-connections.mount systemd-logind.service \