Skip to content

Commit

Permalink
update Dockerfile to pull from https://gallery.ecr.aws/eks-distro-bui…
Browse files Browse the repository at this point in the history
…ld-tooling/golang to avoid reaching pull rate limit from docker.io
  • Loading branch information
nnmin-aws committed Jan 17, 2023
1 parent 8c14472 commit bfb391d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
# 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:2021-12-01-1638322424
ARG golang_image=public.ecr.aws/eks-distro-build-tooling/golang:1.19-gcc

FROM --platform=$BUILDPLATFORM golang:1.16 AS builder
FROM --platform=$BUILDPLATFORM $golang_image AS builder
WORKDIR /go/src/github.com/kubernetes-sigs/aws-iam-authenticator
COPY . .
RUN go mod download
Expand Down

0 comments on commit bfb391d

Please sign in to comment.