diff --git a/Dockerfile b/Dockerfile index e4f248e..9941af3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.25-alpine AS builder +FROM --platform=linux/amd64 golang:1.25-alpine AS builder ARG TARGETARCH @@ -17,4 +17,4 @@ WORKDIR /root/ COPY --from=builder /app/hubproxy . COPY --from=builder /app/config.toml . -CMD ["./hubproxy"] \ No newline at end of file +CMD ["./hubproxy"]