Skip to content

Commit 158d22b

Browse files
committedFeb 11, 2025··
Fix OpenRC Alpine
1 parent fae7791 commit 158d22b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎openrc/alpine/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ RUN apk add --no-cache openrc \
66
&& sed -i -e 's/#rc_sys=""/rc_sys="lxc"/g' -e 's/^#\(rc_logger="YES"\)$/\1/' /etc/rc.conf \
77
&& sed -i '/tty/d' /etc/inittab \
88
&& sed -i 's/hostname $opts/# hostname $opts/g' /etc/init.d/hostname \
9-
&& sed -i 's/mount -t tmpfs/# mount -t tmpfs/g' /lib/rc/sh/init.sh
9+
&& sed -i 's/ dev//' /etc/init.d/machine-id
1010

1111
ENTRYPOINT ["/sbin/init"]

0 commit comments

Comments
 (0)
Please sign in to comment.