diskimage-builder/diskimage_builder/elements/rocky-container/containerfiles/9
Neil Hanlon 6b42cb23ee
Add Rockylinux 9 build configuration and update jobs for 8 and 9
* Add note in Rocky Linux 9 containerfile to explain not needing to run
  systemd-machine-setup-id

Change-Id: I01233ce27cc4558270b2f41fae36b46a17f56e52
2022-08-02 14:07:05 -04:00

14 lines
563 B
Plaintext

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
# NOTE(neilhanlon) 2022-08-02
# Unlike with the RL8 image, there does not appear to be a requirement to
# populate /etc/machine-id in order for /bin/kernel-install to correctly copy
# kernels into /boot. As a result, we will not run the machine setup
# systemd-machine-id-setup script