Skip to content

Commit

Permalink
Allow for MultiArch builds (#125)
Browse files Browse the repository at this point in the history
Remove `GOARCH=amd64` to allow for MultiArch builds.

Signed-off-by: Marco Ochse <[email protected]>
  • Loading branch information
t3chn0m4g3 authored Aug 30, 2024
1 parent 628e20e commit fa472ef
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ FROM golang:alpine AS builder

ENV GO111MODULE=on \
CGO_ENABLED=0 \
GOOS=linux \
GOARCH=amd64
GOOS=linux

RUN apk add git

Expand All @@ -27,4 +26,4 @@ FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /dist/main /

ENTRYPOINT ["/main"]
ENTRYPOINT ["/main"]

0 comments on commit fa472ef

Please sign in to comment.