Skip to content

Commit

Permalink
fix: use golang image from public.ecr.aws (#848)
Browse files Browse the repository at this point in the history
Use `public.ecr.aws/docker/library/golang:1` to avoid docker hub pull
limit

---------

Co-authored-by: Momo Kornher <kornherm@amazon.co.uk>
  • Loading branch information
khoatrandata and mrgrain authored Sep 23, 2024
1 parent 9c5b09b commit 7ab5047
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lambda/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
ARG buildImage=golang:1
FROM ${buildImage} as build
ARG buildImage=public.ecr.aws/docker/library/golang:1
FROM ${buildImage} AS build

USER root

Expand Down
4 changes: 2 additions & 2 deletions test/lambda/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
ARG buildImage=golang:1
FROM ${buildImage} as build
ARG buildImage=public.ecr.aws/docker/library/golang:1
FROM ${buildImage} AS build

USER root

Expand Down

0 comments on commit 7ab5047

Please sign in to comment.