Skip to content

Commit

Permalink
Fix OpenRC Alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
j8r committed Feb 11, 2025
1 parent fae7791 commit 158d22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openrc/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ RUN apk add --no-cache openrc \
&& sed -i -e 's/#rc_sys=""/rc_sys="lxc"/g' -e 's/^#\(rc_logger="YES"\)$/\1/' /etc/rc.conf \
&& sed -i '/tty/d' /etc/inittab \
&& sed -i 's/hostname $opts/# hostname $opts/g' /etc/init.d/hostname \
&& sed -i 's/mount -t tmpfs/# mount -t tmpfs/g' /lib/rc/sh/init.sh
&& sed -i 's/ dev//' /etc/init.d/machine-id

ENTRYPOINT ["/sbin/init"]

0 comments on commit 158d22b

Please sign in to comment.