From 5927d1fd6e022879733b3fbc7b8c5eeb2fa8466b Mon Sep 17 00:00:00 2001 From: AnsibleGuy Date: Sat, 4 May 2024 14:37:20 +0200 Subject: [PATCH] molecule debian11 => 12 --- ...ile_debian11_systemd.j2 => Dockerfile_debian12_systemd.j2} | 2 +- molecule/default/molecule.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename molecule/default/{Dockerfile_debian11_systemd.j2 => Dockerfile_debian12_systemd.j2} (94%) diff --git a/molecule/default/Dockerfile_debian11_systemd.j2 b/molecule/default/Dockerfile_debian12_systemd.j2 similarity index 94% rename from molecule/default/Dockerfile_debian11_systemd.j2 rename to molecule/default/Dockerfile_debian12_systemd.j2 index 24c57ad..703498a 100644 --- a/molecule/default/Dockerfile_debian11_systemd.j2 +++ b/molecule/default/Dockerfile_debian12_systemd.j2 @@ -1,7 +1,7 @@ # docker build -t mantest - < ./Dockerfile.j2 # docker run -it --privileged --name mantest mantest:latest /sbin/init --tmpfs /tmp --tmpfs /run --tmpfs /run/lock -FROM debian:11-slim +FROM debian:12-slim ENV container docker ENV LC_ALL C diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 2bb8ed5..e227620 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -8,9 +8,9 @@ _references: docker_host: 'tcp://molecule-docker.local:2375' # docker_host: 'unix://var/run/docker.sock' # localhost purge_networks: true - image: 'debian:11-slim' + image: 'debian:12-slim' # for docker systemd config see: https://serverfault.com/questions/1053187/systemd-fails-to-run-in-a-docker-container-when-using-cgroupv2-cgroupns-priva - dockerfile: 'Dockerfile_debian11_systemd.j2' + dockerfile: 'Dockerfile_debian12_systemd.j2' build_image: yes tmpfs: ['/tmp', '/run', '/run/lock'] privileged: true