Skip to content

Commit

Permalink
move to centos9 and custom build for systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
tanganellilore committed Jun 4, 2024
1 parent 8d9f3cd commit 9ebb71a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions molecule/default/Containerfile_centos.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM quay.io/centos/centos:stream9

RUN dnf install -y systemd python3-pip \
&& dnf clean all
7 changes: 4 additions & 3 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ driver:
name: podman
platforms:
- name: molecule-centos
image: quay.io/centos/centos:stream8
pre_build_image: true
image: quay.io/centos/centos:stream9
dockerfile: Containerfile_centos.j2
pre_build_image: false
systemd: true
privileged: true
command: "/usr/sbin/init"
command: "/lib/systemd/systemd"
tmpfs:
"/run": "rw,mode=1777"
"/tmp": "rw,mode=1777"
Expand Down

0 comments on commit 9ebb71a

Please sign in to comment.