mirror of
https://github.com/GeekOops/geekoops-nginx.git
synced 2024-05-20 05:32:22 +00:00
commit
1e9acd55fe
9
molecule/default/Dockerfile.bookworm
Normal file
9
molecule/default/Dockerfile.bookworm
Normal 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"]
|
|
@ -22,6 +22,15 @@ platforms:
|
||||||
tmpfs:
|
tmpfs:
|
||||||
- /run
|
- /run
|
||||||
- /tmp
|
- /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:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
inventory:
|
inventory:
|
||||||
|
@ -32,5 +41,8 @@ provisioner:
|
||||||
bullseye:
|
bullseye:
|
||||||
vhosts_dir: "/etc/nginx/sites-enabled"
|
vhosts_dir: "/etc/nginx/sites-enabled"
|
||||||
deploy_nginx_config: false
|
deploy_nginx_config: false
|
||||||
|
bookworm:
|
||||||
|
vhosts_dir: "/etc/nginx/sites-enabled"
|
||||||
|
deploy_nginx_config: false
|
||||||
verifier:
|
verifier:
|
||||||
name: testinfra
|
name: testinfra
|
||||||
|
|
Loading…
Reference in a new issue