Skip to content

Commit b1a5c66

Browse files
Adrian Wilkinsleoherran-aws
authored andcommitted
Use public ECR for images that exist there.
This means that CodeBuild jobs to build these images should always succeed rather than hitting rate limits at Docker.
1 parent e1fc989 commit b1a5c66

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

al2/aarch64/standard/1.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1010
# See the License for the specific language governing permissions and limitations under the License.
1111

12-
FROM amazonlinux:2
12+
FROM public.ecr.aws/amazonlinux/amazonlinux:2
1313

1414
ENV RUBY_VERSION="2.6.5" \
1515
PYTHON_37_VERSION="3.7.4" \

al2/aarch64/standard/2.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1010
# See the License for the specific language governing permissions and limitations under the License.
1111

12-
FROM amazonlinux:2 AS core
12+
FROM public.ecr.aws/amazonlinux/amazonlinux:2 AS core
1313

1414
ENV EPEL_REPO="https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
1515

al2/x86_64/standard/2.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1010
# See the License for the specific language governing permissions and limitations under the License.
1111

12-
FROM amazonlinux:2 AS core
12+
FROM public.ecr.aws/amazonlinux/amazonlinux:2 AS core
1313

1414
# Install git, SSH, and other utilities
1515
RUN set -ex \

al2/x86_64/standard/3.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1010
# See the License for the specific language governing permissions and limitations under the License.
1111

12-
FROM amazonlinux:2 AS core
12+
FROM public.ecr.aws/amazonlinux/amazonlinux:2 AS core
1313

1414
# Install git, SSH, and other utilities
1515
RUN set -ex \

ubuntu/standard/3.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1010
# See the License for the specific language governing permissions and limitations under the License.
1111

12-
FROM ubuntu:18.04 AS core
12+
FROM public.ecr.aws/ubuntu/ubuntu:18.04 AS core
1313

1414
ENV DEBIAN_FRONTEND="noninteractive"
1515

ubuntu/standard/4.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1010
# See the License for the specific language governing permissions and limitations under the License.
1111

12-
FROM ubuntu:18.04 AS core
12+
FROM public.ecr.aws/ubuntu/ubuntu:18.04 AS core
1313

1414
ENV DEBIAN_FRONTEND="noninteractive"
1515

ubuntu/standard/5.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1010
# See the License for the specific language governing permissions and limitations under the License.
1111

12-
FROM ubuntu:20.04 AS core
12+
FROM public.ecr.aws/ubuntu/ubuntu:20.04 AS core
1313

1414
ARG DEBIAN_FRONTEND="noninteractive"
1515

unsupported_images/al2/x86_64/standard/1.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1010
# See the License for the specific language governing permissions and limitations under the License.
1111

12-
FROM amazonlinux:2 AS core
12+
FROM public.ecr.aws/amazonlinux/amazonlinux:2 AS core
1313

1414
ENV EPEL_REPO="https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
1515

unsupported_images/ubuntu/standard/1.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1010
# See the License for the specific language governing permissions and limitations under the License.
1111

12-
FROM ubuntu:18.04 AS core
12+
FROM public.ecr.aws/ubuntu/ubuntu:18.04 AS core
1313

1414
ENV DEBIAN_FRONTEND="noninteractive"
1515

unsupported_images/ubuntu/standard/2.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1010
# See the License for the specific language governing permissions and limitations under the License.
1111

12-
FROM ubuntu:18.04 AS core
12+
FROM public.ecr.aws/ubuntu/ubuntu:18.04 AS core
1313

1414
ENV DEBIAN_FRONTEND="noninteractive"
1515

0 commit comments

Comments
 (0)