File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM docker.io/debian:bullseye
2
+
3
+ # Install systemd, and development tools, clear cache and clean system
4
+ RUN apt-get update && apt-get install -y systemd systemd-sysv python3 curl && rm -rf /var/cache/* && systemctl mask -- dev-hugepages.mount sys-fs-fuse-connections.mount && rm -f /etc/machine-id /var/lib/dbus/machine-id
5
+
6
+ STOPSIGNAL SIGRTMIN+3
7
+
8
+ # Start container with systemd
9
+ ENTRYPOINT ["/sbin/init"]
Original file line number Diff line number Diff line change @@ -22,6 +22,15 @@ platforms:
22
22
tmpfs :
23
23
- /run
24
24
- /tmp
25
+ - name : bookworm
26
+ image : docker.io/debian:bookworm
27
+ dockerfile : Dockerfile.bookworm
28
+ command : ${MOLECULE_DOCKER_COMMAND:-"/sbin/init"}
29
+ privileged : true
30
+ cgroupns : host
31
+ tmpfs :
32
+ - /run
33
+ - /tmp
25
34
provisioner :
26
35
name : ansible
27
36
inventory :
@@ -32,5 +41,8 @@ provisioner:
32
41
bullseye :
33
42
vhosts_dir : " /etc/nginx/sites-enabled"
34
43
deploy_nginx_config : false
44
+ bookworm :
45
+ vhosts_dir : " /etc/nginx/sites-enabled"
46
+ deploy_nginx_config : false
35
47
verifier :
36
48
name : testinfra
You can’t perform that action at this time.
0 commit comments