Blame Container-9.test

40b4c8
FROM quay.io/centos/centos:stream9
40b4c8
40b4c8
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \
40b4c8
rm -f /lib/systemd/system/multi-user.target.wants/*;\
40b4c8
rm -f /etc/systemd/system/*.wants/*;\
40b4c8
rm -f /lib/systemd/system/local-fs.target.wants/*; \
40b4c8
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
40b4c8
rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \
40b4c8
rm -f /lib/systemd/system/basic.target.wants/*;\
40b4c8
rm -f /lib/systemd/system/anaconda.target.wants/*;
40b4c8
40b4c8
VOLUME [ "/sys/fs/cgroup" ]
40b4c8
40b4c8
CMD ["/usr/sbin/init"]
40b4c8
40b4c8
COPY . /tmp/test
40b4c8
WORKDIR /tmp/test
40b4c8
RUN  CONTAINERTEST=1 ./runtests.sh 0_common
40b4c8
RUN dnf -y install hostname initscripts iproute net-tools