From 0c4dc4b7c5643b1f3d1f11cd7ca2313e8c75f606 Mon Sep 17 00:00:00 2001 From: iceBear67 Date: Mon, 22 Jun 2026 13:58:03 +0800 Subject: [PATCH] unify alpine version --- hypervisor.Dockerfile | 2 +- image/overlay/etc/network/interfaces | 1 - vm.Dockerfile | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hypervisor.Dockerfile b/hypervisor.Dockerfile index 29da0ea..5bb2237 100644 --- a/hypervisor.Dockerfile +++ b/hypervisor.Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:latest AS hypervisor +FROM alpine:latest-stable AS hypervisor ADD ./scripts/setup-hypervisor.sh /setup.sh # Download cloud hypervisor RUN apk update && apk add bash curl jq tini linux-virt && sh /setup.sh && rm /setup.sh && mkdir /app diff --git a/image/overlay/etc/network/interfaces b/image/overlay/etc/network/interfaces index 9d986a6..790f947 100644 --- a/image/overlay/etc/network/interfaces +++ b/image/overlay/etc/network/interfaces @@ -3,5 +3,4 @@ iface lo inet loopback auto eth0 iface eth0 inet dhcp - pre-up modprobe af_packet post-up ip route del default || true; ip route add default via GATEWAY_ADDRESS diff --git a/vm.Dockerfile b/vm.Dockerfile index f0cc570..5622d67 100644 --- a/vm.Dockerfile +++ b/vm.Dockerfile @@ -10,7 +10,7 @@ RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH \ CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH \ go build -o /build/auth_server ./util/ -FROM alpine:latest AS rootfs-builder +FROM alpine:latest-stable AS rootfs-builder ENV CLOUD_CONFIG_REPO="https://git.sfclub.cc/cloud/bearnet" ENV CLOUD_CONFIG_REVISION="wish" ENV CLOUD_GATEWAY_ADDRESS="10.0.0.119"