|
|
@@ -34,7 +34,7 @@ Systemd is now included in both the centos:7 and centos:latest base containers,
|
|
|
FROM centos:7
|
|
|
MAINTAINER "you" <[email protected]>
|
|
|
ENV container docker
|
|
|
-RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i ==
|
|
|
+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/*;\
|