2022-07-06 19:41:24 +00:00
|
|
|
FROM docker.io/rockylinux/rockylinux:9
|
|
|
|
|
|
|
|
RUN dnf install -y findutils util-linux sudo python3 NetworkManager
|
|
|
|
|
|
|
|
RUN systemctl unmask console-getty.service dev-hugepages.mount \
|
|
|
|
getty.target sys-fs-fuse-connections.mount systemd-logind.service \
|
|
|
|
systemd-remount-fs.service
|
|
|
|
|
2022-08-18 01:22:19 +00:00
|
|
|
# /etc/machine-id needs to be populated for /bin/kernel-install to
|
|
|
|
# correctly copy kernels into /boot. We will clear this out in the
|
|
|
|
# final image.
|
|
|
|
RUN systemd-machine-id-setup
|