Skip to content

Commit 94437a3

Browse files
committed
Add bookworm
Add the CI recipe for Debian bookworm
1 parent 8855816 commit 94437a3

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

molecule/default/Dockerfile.bookworm

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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"]

molecule/default/molecule.yml

+12
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ platforms:
2222
tmpfs:
2323
- /run
2424
- /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
2534
provisioner:
2635
name: ansible
2736
inventory:
@@ -32,5 +41,8 @@ provisioner:
3241
bullseye:
3342
vhosts_dir: "/etc/nginx/sites-enabled"
3443
deploy_nginx_config: false
44+
bookworm:
45+
vhosts_dir: "/etc/nginx/sites-enabled"
46+
deploy_nginx_config: false
3547
verifier:
3648
name: testinfra

0 commit comments

Comments
 (0)