Advertisement
Guest User

Untitled

a guest
Dec 19th, 2021
448
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. FROM rockylinux/rockylinux:8
  2.  
  3. LABEL build_date="2021-12-18"
  4.  
  5. ENV container=docker
  6.  
  7. RUN cd /lib/systemd/system/sysinit.target.wants/ ; \
  8. for i in * ; do [ $i = systemd-tmpfiles-setup.service ] || rm -f $i ; done ; \
  9. rm -f /lib/systemd/system/multi-user.target.wants/* ; \
  10. rm -f /etc/systemd/system/*.wants/* ; \
  11. rm -f /lib/systemd/system/local-fs.target.wants/* ; \
  12. rm -f /lib/systemd/system/sockets.target.wants/*udev* ; \
  13. rm -f /lib/systemd/system/sockets.target.wants/*initctl* ; \
  14. rm -f /lib/systemd/system/basic.target.wants/* ; \
  15. rm -f /lib/systemd/system/anaconda.target.wants/*
  16.  
  17. VOLUME ["/sys/fs/cgroup"]
  18.  
  19. CMD ["/sbin/init"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement