-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace docker with podman to make systemd work
New systemd versions on the host break systemd on the container systemd/systemd#19245
- Loading branch information
1 parent
dd3df35
commit 10cf31f
Showing
3 changed files
with
7 additions
and
29 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,5 @@ | ||
FROM debian:buster | ||
FROM docker.io/debian:buster | ||
|
||
RUN apt-get update && apt-get install -y python3 systemd | ||
|
||
ENV container docker | ||
ENV LC_ALL C | ||
|
||
RUN cd /lib/systemd/system/sysinit.target.wants/ \ | ||
&& ls | grep -v systemd-tmpfiles-setup | xargs rm -f $1 | ||
|
||
RUN rm -f /lib/systemd/system/multi-user.target.wants/* \ | ||
/etc/systemd/system/*.wants/* \ | ||
/lib/systemd/system/local-fs.target.wants/* \ | ||
/lib/systemd/system/sockets.target.wants/*udev* \ | ||
/lib/systemd/system/sockets.target.wants/*initctl* \ | ||
/lib/systemd/system/basic.target.wants/* \ | ||
/lib/systemd/system/anaconda.target.wants/* \ | ||
/lib/systemd/system/plymouth* \ | ||
/lib/systemd/system/systemd-update-utmp* | ||
|
||
ENTRYPOINT ["/lib/systemd/systemd"] |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ansible==4.5.0 | ||
ansible-lint==5.1.3 | ||
molecule[docker,ansible,lint]==3.4.0 | ||
molecule-docker==1.0.2 | ||
molecule[ansible,lint]==3.4.0 | ||
molecule-podman==1.0.1 | ||
passlib |