Skip to content

Commit f1f7de6

Browse files
committed
updates
1 parent 9c031f9 commit f1f7de6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

molecule/common/Dockerfile.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ RUN \
2626
elif [ $(command -v yum) ]; then \
2727
yum makecache fast \
2828
&& yum install -y bash iproute initscripts sudo /usr/bin/python /usr/bin/python2-config vim yum-plugin-ovl \
29+
&& yum install -y http://mirror.centos.org/centos/7/os/x86_64/Packages/yum-plugin-copr-1.1.31-54.el7_8.noarch.rpm http://mirror.centos.org/centos/7/os/x86_64/Packages/libseccomp-2.3.1-4.el7.x86_64.rpm \
30+
&& yum copr enable -y jsynacek/systemd-backports-for-centos-7 \
31+
&& yum update -y systemd \
2932
&& sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf \
3033
&& yum clean all; \
3134
elif [ $(command -v zypper) ]; then \

molecule/default/molecule.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ platforms:
5454
- name: amazonlinux-2
5555
image: amazonlinux:2
5656
dockerfile: ../common/Dockerfile.j2
57+
platform: amd64
5758
privileged: true
5859
cgroupns_mode: host
5960
volumes:
@@ -62,7 +63,9 @@ platforms:
6263
- name: centos-7
6364
image: centos:7
6465
dockerfile: ../common/Dockerfile.j2
66+
platform: amd64
6567
privileged: true
68+
cgroupns_mode: host
6669
volumes:
6770
- /sys/fs/cgroup:/sys/fs/cgroup:rw
6871
command: /usr/sbin/init
@@ -97,7 +100,9 @@ platforms:
97100
- name: rhel-7
98101
image: registry.access.redhat.com/ubi7/ubi:7.9
99102
dockerfile: ../common/Dockerfile.j2
103+
platform: amd64
100104
privileged: true
105+
cgroupns_mode: host
101106
volumes:
102107
- /sys/fs/cgroup:/sys/fs/cgroup:rw
103108
command: /usr/sbin/init

0 commit comments

Comments
 (0)