File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ FROM --platform=$TARGETPLATFORM public.ecr.aws/amazonlinux/amazonlinux:2023.9.20
55# Add build arguments
66ARG TARGETARCH
77ARG VERSION
8+ ARG GO_VERSION=1.26.2
89
910# Install build dependencies
1011RUN dnf install -y \
@@ -17,10 +18,10 @@ ENV GOPATH=/root/go \
1718 HOME=/root
1819
1920RUN mkdir -p /root/go/bin && \
20- go install golang.org/dl/go1.26.1 @latest && \
21- go1.26.1 download && \
21+ go install golang.org/dl/go${GO_VERSION} @latest && \
22+ go${GO_VERSION} download && \
2223 rm -rf /usr/local/go && \
23- ln -s /root/sdk/go1.26.1 /usr/local/go
24+ ln -s /root/sdk/go${GO_VERSION} /usr/local/go
2425
2526ENV GOROOT=/usr/local/go \
2627 PATH=/usr/local/go/bin:/root/go/bin:$PATH
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module github.com/aws/rolesanywhere-credential-helper
22
33go 1.26.0
44
5- toolchain go1.26.1
5+ toolchain go1.26.2
66
77require (
88 github.com/aws/aws-sdk-go-v2 v1.40.0
You can’t perform that action at this time.
0 commit comments