add Dockerfile
This commit is contained in:
parent
c9d1b724bf
commit
a006e53dfe
@ -3,8 +3,7 @@ MAINTAINER "yexuejc" <1107047387@qq.com>
|
|||||||
ENV container docker
|
ENV container docker
|
||||||
RUN yum -y swap -- remove fakesystemd -- install systemd systemd-libs
|
RUN yum -y swap -- remove fakesystemd -- install systemd systemd-libs
|
||||||
RUN yum -y update; yum clean all; \
|
RUN yum -y update; yum clean all; \
|
||||||
(cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i ==
|
(cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i ==systemd-tmpfiles-setup.service ] || rm -f $i; done); \
|
||||||
systemd-tmpfiles-setup.service ] || rm -f $i; done); \
|
|
||||||
rm -f /lib/systemd/system/multi-user.target.wants/*;\
|
rm -f /lib/systemd/system/multi-user.target.wants/*;\
|
||||||
rm -f /etc/systemd/system/*.wants/*;\
|
rm -f /etc/systemd/system/*.wants/*;\
|
||||||
rm -f /lib/systemd/system/local-fs.target.wants/*; \
|
rm -f /lib/systemd/system/local-fs.target.wants/*; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user