mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-16 16:57:08 +00:00
chore: update Dockerfile to specify platform for Alpine base image
This commit is contained in:
parent
afa5097436
commit
32662aa3e7
@ -11,7 +11,7 @@ ARG TARGETARCH
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -trimpath -ldflags="-s -w" -o ua3f
|
||||
|
||||
FROM alpine
|
||||
FROM --platform=$BUILDPLATFORM alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user