rocky-container: Add installation of Minimal Install group
Currently the images lack some packages like linux-firmware and microcode_ctl, installing 'Minimal Install' group adds those and some others that are expected to be on a VM or bare metal. --allowerasing is used to remove coreutils-single and curl-minimal which conflict with their fully fledged equivalents. Change-Id: I08a6f8cb7b0440652c3496056ca9aee8213edc4d
This commit is contained in:
parent
14754b21a4
commit
39892dc8c1
@ -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 \
|
||||
|
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user