unify alpine version
This commit is contained in:
@@ -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:3.24 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"
|
||||
@@ -23,7 +23,7 @@ COPY --from=bubble-builder /build/daemon /bin/bubble
|
||||
COPY --from=bubble-builder /build/auth_server /bin/auth-server
|
||||
RUN --security=insecure \
|
||||
--mount=type=bind,from=host-modules,source=/,target=/lib/modules \
|
||||
cd /kitchen && rm -f vm.raw && ./build-image.sh
|
||||
cd /kitchen && rm -f vm.raw && ALPINE_BRANCH="3.24" ./build-image.sh
|
||||
|
||||
FROM scratch AS export
|
||||
COPY --from=rootfs-builder /kitchen/vm.raw /vm.raw
|
||||
|
||||
Reference in New Issue
Block a user