Skip to content

Commit

Permalink
ci: use public ecr to avoid rate limiting
Browse files Browse the repository at this point in the history
ubuntu16.04 is missing from public.ecr.aws
  • Loading branch information
thalesmg committed Oct 19, 2023
1 parent f0a51dd commit c3599a3
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- prepare

strategy:
fail-fast: false
matrix:
base_image_vsn:
- "5.0"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=ubuntu:22.04
ARG BUILD_FROM=public.ecr.aws/ubuntu/ubuntu:22.04
FROM ${BUILD_FROM}

ENV EMQX_BUILDER_IMAGE=${BUILD_FROM}
Expand Down
2 changes: 1 addition & 1 deletion alpine3.15.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=alpine:3.15.1
ARG BUILD_FROM=public.ecr.aws/docker/library/alpine:3.15.1
FROM ${BUILD_FROM}

RUN apk add --no-cache --virtual .build-deps \
Expand Down
2 changes: 1 addition & 1 deletion amzn2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=amazonlinux:2
ARG BUILD_FROM=public.ecr.aws/amazonlinux/amazonlinux:2
FROM ${BUILD_FROM}

RUN yum update -y
Expand Down
2 changes: 1 addition & 1 deletion amzn2023/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=amazonlinux:2023
ARG BUILD_FROM=public.ecr.aws/amazonlinux/amazonlinux:2023
FROM ${BUILD_FROM}

RUN dnf -y update && \
Expand Down
2 changes: 1 addition & 1 deletion debian10/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=debian:10
ARG BUILD_FROM=public.ecr.aws/debian/debian:10
FROM ${BUILD_FROM}

# Avoid getting asked questions during installation (tzdata)
Expand Down
2 changes: 1 addition & 1 deletion debian11/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=debian:11
ARG BUILD_FROM=public.ecr.aws/debian/debian:11
FROM ${BUILD_FROM}

# Avoid getting asked questions during installation (tzdata)
Expand Down
2 changes: 1 addition & 1 deletion debian12/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=debian:12
ARG BUILD_FROM=public.ecr.aws/debian/debian:12
FROM ${BUILD_FROM}

# Avoid getting asked questions during installation (tzdata)
Expand Down
2 changes: 1 addition & 1 deletion debian9/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=debian:9
ARG BUILD_FROM=public.ecr.aws/debian/debian:9
FROM ${BUILD_FROM}

# Avoid getting asked questions during installation (tzdata)
Expand Down
2 changes: 1 addition & 1 deletion el7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=centos:7
ARG BUILD_FROM=public.ecr.aws/docker/library/centos:7
FROM ${BUILD_FROM}

RUN yum install epel-release -y && yum update -y
Expand Down
2 changes: 1 addition & 1 deletion el8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=rockylinux:8
ARG BUILD_FROM=public.ecr.aws/docker/library/rockylinux:8
FROM ${BUILD_FROM}

RUN yum install epel-release -y && yum update -y
Expand Down
2 changes: 1 addition & 1 deletion el9/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=rockylinux:9
ARG BUILD_FROM=public.ecr.aws/docker/library/rockylinux:9
FROM ${BUILD_FROM}

RUN dnf -y update && dnf -y groupinstall development
Expand Down
2 changes: 1 addition & 1 deletion ubuntu18.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=ubuntu:18.04
ARG BUILD_FROM=public.ecr.aws/ubuntu/ubuntu:18.04
FROM ${BUILD_FROM}

# Avoid getting asked questions during installation (tzdata)
Expand Down
2 changes: 1 addition & 1 deletion ubuntu20.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=ubuntu:20.04
ARG BUILD_FROM=public.ecr.aws/ubuntu/ubuntu:20.04
FROM ${BUILD_FROM}

ENV DEBIAN_FRONTEND=noninteractive
Expand Down
2 changes: 1 addition & 1 deletion ubuntu22.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=ubuntu:22.04
ARG BUILD_FROM=public.ecr.aws/ubuntu/ubuntu:22.04
FROM ${BUILD_FROM}

ENV DEBIAN_FRONTEND=noninteractive
Expand Down

0 comments on commit c3599a3

Please sign in to comment.