From 4071a3122feac06347bbb6cfe42bd7473837c520 Mon Sep 17 00:00:00 2001 From: alexanderbazhenoff Date: Sun, 31 Mar 2024 22:32:29 +0300 Subject: [PATCH] fixes --- roles/bareos/molecule/default/Dockerfile_alpine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bareos/molecule/default/Dockerfile_alpine b/roles/bareos/molecule/default/Dockerfile_alpine index 3a30856..178e626 100644 --- a/roles/bareos/molecule/default/Dockerfile_alpine +++ b/roles/bareos/molecule/default/Dockerfile_alpine @@ -11,7 +11,7 @@ RUN bash -c 'echo "rc_provide=\"loopback net\"" >> /etc/rc.conf' RUN sed -i -e 's/#rc_sys=""/rc_sys="lxc"/g' -e 's/^#\(rc_logger="YES"\)$/\1/' /etc/rc.conf RUN sed -i "/tty/d" /etc/inittab RUN sed -i "s/hostname $opts/# hostname $opts/g" /etc/init.d/hostname -RUN sed -i "s/mount -t tmpfs/# mount -t tmpfs/g" /lib/rc/sh/init.sh +RUN bash -c 'sed -i "s/mount -t tmpfs/# mount -t tmpfs/g" /lib/rc/sh/init.sh' VOLUME ["/sys/fs/cgroup"] ENTRYPOINT ["/sbin/init"]