diff --git a/Dockerfile b/Dockerfile index 777ab0354..4168e6506 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,13 +11,13 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -ARG image=public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-nonroot:2023-02-22-1677092456.2 +ARG image=public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-nonroot:2023-09-06-1694026927.2 ARG golang_image=public.ecr.aws/docker/library/golang:1.21.5 FROM --platform=$BUILDPLATFORM $golang_image AS builder WORKDIR /go/src/github.com/kubernetes-sigs/aws-iam-authenticator COPY . . -RUN go mod download +RUN goproxy=https://goproxy.io go mod download ARG TARGETOS TARGETARCH RUN GOOS=$TARGETOS GOARCH=$TARGETARCH make bin RUN chown 65532 _output/bin/aws-iam-authenticator