From 49a5e93c44776425f730f84eb7e05021362c0bf9 Mon Sep 17 00:00:00 2001 From: Volodymyr Zotov Date: Tue, 17 Jun 2025 11:19:21 -0500 Subject: [PATCH] Remove GO111MODULE=on as it set to 'on' by default from Go 1.16 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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