mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-16 08:44:29 +00:00
chore: update Dockerfile to specify platform for Alpine base image
This commit is contained in:
parent
ca45a4547e
commit
aa76becebe
@ -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