mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
19 lines
880 B
Plaintext
19 lines
880 B
Plaintext
FROM fedora:34
|
|
|
|
RUN dnf install -y systemd findutils
|
|
|
|
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \
|
|
rm -f /lib/systemd/system/multi-user.target.wants/*;\
|
|
rm -f /etc/systemd/system/*.wants/*;\
|
|
rm -f /lib/systemd/system/local-fs.target.wants/*; \
|
|
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
|
|
rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \
|
|
rm -f /lib/systemd/system/basic.target.wants/*;\
|
|
rm -f /lib/systemd/system/anaconda.target.wants/*;\
|
|
rm -f /lib/systemd/system/*tmpfiles*;\
|
|
rm -f /lib/systemd/user/*tmpfiles*;\
|
|
find /lib/systemd/ -type f -iname "*.service" -exec rm -f {} \;;\
|
|
find /etc/systemd/ -type f -iname "*.service" -exec rm -f {} \;;\
|
|
find /lib/systemd/ -type f -iname "*.timer" -exec rm -f {} \;;\
|
|
find /etc/systemd/ -type f -iname "*.timer" -exec rm -f {} \;
|