Created
May 18, 2022 12:31
-
-
Save dacci/2b600088c01c0a5d93d64789632896c7 to your computer and use it in GitHub Desktop.
CentOS Stream 9 with systemd enabled
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM quay.io/centos/centos:stream9 | |
| RUN dnf -y install systemd procps-ng && dnf clean all | |
| RUN systemctl mask \ | |
| systemd-remount-fs.service \ | |
| dev-hugepages.mount \ | |
| sys-fs-fuse-connections.mount \ | |
| systemd-logind.service \ | |
| getty.target \ | |
| console-getty.service \ | |
| systemd-udev-trigger.service \ | |
| systemd-udevd.service \ | |
| systemd-random-seed.service \ | |
| systemd-machine-id-commit.service | |
| STOPSIGNAL SIGRTMIN+3 | |
| CMD ["/sbin/init"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment