Add bookworm

Add the CI recipe for Debian bookworm
This commit is contained in:
Felix Niederwanger 2023-01-30 15:39:10 +01:00
parent 88558167fa
commit 94437a3bb2
Signed by: phoenix
GPG key ID: 31860289A704FB3C
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,9 @@
FROM docker.io/debian:bullseye
# Install systemd, and development tools, clear cache and clean system
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
STOPSIGNAL SIGRTMIN+3
# Start container with systemd
ENTRYPOINT ["/sbin/init"]

View file

@ -22,6 +22,15 @@ platforms:
tmpfs:
- /run
- /tmp
- name: bookworm
image: docker.io/debian:bookworm
dockerfile: Dockerfile.bookworm
command: ${MOLECULE_DOCKER_COMMAND:-"/sbin/init"}
privileged: true
cgroupns: host
tmpfs:
- /run
- /tmp
provisioner:
name: ansible
inventory:
@ -32,5 +41,8 @@ provisioner:
bullseye:
vhosts_dir: "/etc/nginx/sites-enabled"
deploy_nginx_config: false
bookworm:
vhosts_dir: "/etc/nginx/sites-enabled"
deploy_nginx_config: false
verifier:
name: testinfra