updated molecule docker-image
This commit is contained in:
parent
8c220ddeaf
commit
77b6ea1efc
|
|
@ -1,14 +0,0 @@
|
||||||
# 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:12-slim
|
|
||||||
|
|
||||||
ENV container docker
|
|
||||||
ENV LC_ALL C
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
|
|
||||||
RUN apt-get update \
|
|
||||||
&& apt-get install -y systemd systemd-sysv python3 sudo \
|
|
||||||
&& apt-get clean
|
|
||||||
|
|
||||||
CMD ["/sbin/init"]
|
|
||||||
|
|
@ -15,16 +15,10 @@ platforms:
|
||||||
- name: 'test-ag-apache'
|
- name: 'test-ag-apache'
|
||||||
ipv4_address: '192.168.11.1'
|
ipv4_address: '192.168.11.1'
|
||||||
groups: [grp_tester]
|
groups: [grp_tester]
|
||||||
|
|
||||||
# docker config
|
|
||||||
docker_host: 'tcp://molecule-docker.local:2375'
|
docker_host: 'tcp://molecule-docker.local:2375'
|
||||||
purge_networks: true
|
image: 'ansible0guy/molecule:debian-latest'
|
||||||
image: 'debian:12-slim'
|
|
||||||
dockerfile: 'Dockerfile_debian12_systemd.j2'
|
|
||||||
build_image: yes
|
|
||||||
tmpfs: ['/tmp', '/run', '/run/lock']
|
tmpfs: ['/tmp', '/run', '/run/lock']
|
||||||
privileged: true
|
privileged: true
|
||||||
command: '/sbin/init'
|
|
||||||
|
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue