diff --git a/Dockerfile b/Dockerfile index 385d016..86e2234 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ COPY version/ version/ # the docker BUILDPLATFORM arg will be linux/arm64 when for Apple x86 it will be linux/amd64. Therefore, # by leaving it empty we can ensure that the container and binary shipped on it will have the same platform. RUN CGO_ENABLED=0 \ - GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} GO111MODULE=on \ + GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} \ go build \ -ldflags "-X \"github.com/1Password/onepassword-operator/version.Version=$operator_version\"" \ -a -o manager cmd/main.go