Skip to content

Commit ca0b26d

Browse files
adarshagrawal38kfswain
authored andcommitted
Reseting GOOS and GOARCH
1 parent 8dad055 commit ca0b26d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ ARG BASE_IMAGE=gcr.io/distroless/static:nonroot
55

66
## Multistage build
77
FROM ${BUILDER_IMAGE} AS builder
8-
ARG TARGETOS
9-
ARG TARGETARCH
108
ENV CGO_ENABLED=0
11-
ENV GOOS=$TARGETOS
12-
ENV GOARCH=$TARGETARCH
9+
ENV GOOS=linux
10+
ENV GOARCH=amd64
1311
ARG COMMIT_SHA=unknown
1412
ARG BUILD_REF
1513

0 commit comments

Comments
 (0)