Skip to content

Commit 3a5f5d4

Browse files
authored
Fix auth cross compile (#1433)
1 parent 3b2f08c commit 3a5f5d4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

auth/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ COPY go.mod go.sum ./
55
RUN go mod download
66

77
COPY . .
8+
ARG TARGETOS
9+
ARG TARGETARCH
810
RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=$TARGETARCH go build -o /keibi
911

1012
FROM gcr.io/distroless/base-debian11

0 commit comments

Comments
 (0)