mirror of
https://github.com/linka-cloud/d2vm.git
synced 2025-06-23 13:52:26 +00:00
fix Alpine 3.17 support (close #16)
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
@ -6,7 +6,14 @@ RUN apk update --no-cache && \
|
||||
apk add \
|
||||
util-linux \
|
||||
linux-virt \
|
||||
{{ if ge .Release.VersionID "3.17" }} \
|
||||
busybox-openrc \
|
||||
busybox-mdev-openrc \
|
||||
busybox-extras-openrc \
|
||||
busybox-mdev-openrc \
|
||||
{{ else }}
|
||||
busybox-initscripts \
|
||||
{{ end }}
|
||||
openrc
|
||||
|
||||
RUN for s in bootmisc hostname hwclock modules networking swap sysctl urandom syslog; do rc-update add $s boot; done
|
||||
|
Reference in New Issue
Block a user