This PR updates source image registry of various base images we use from Dockerhub to ECR in AmazonLinuxLegacy2018 branch.
Following images were updated -
misc/certs/Dockerfile - FROM debian:stable-20201012 to FROM public.ecr.aws/docker/library/debian:stable-20240110-slim - this is because the older image no longer works (same change was made for dev branch in https://github.com/aws/amazon-ecs-agent/pull/4153)
misc/fluentd/Dockerfile - FROM fluent/fluentd:v1.11.5-1.0 to FROM public.ecr.aws/docker/library/fluentd:v1.14.0-1.0 - following https://github.com/aws/amazon-ecs-agent/pull/3101, older image version is not available in ECR
misc/pause-container/Dockerfile - FROM gcc:7.3.0 as build to FROM public.ecr.aws/docker/library/gcc:11.2.0 as build - Older gcc is not available in ECR, following https://github.com/aws/amazon-ecs-agent/pull/3108
Testing
Built all the images locally.
New tests cover the changes:
Description for the changelog
Additional Information
Does this PR include breaking model changes? If so, Have you added transformation functions?
**Does this PR include the addition of new environment variables in the README?**
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Summary
This PR updates source image registry of various base images we use from Dockerhub to ECR in
AmazonLinuxLegacy2018
branch.Following images were updated -
misc/certs/Dockerfile
-FROM debian:stable-20201012
toFROM public.ecr.aws/docker/library/debian:stable-20240110-slim
- this is because the older image no longer works (same change was made for dev branch in https://github.com/aws/amazon-ecs-agent/pull/4153)misc/fluentd/Dockerfile
-FROM fluent/fluentd:v1.11.5-1.0
toFROM public.ecr.aws/docker/library/fluentd:v1.14.0-1.0
- following https://github.com/aws/amazon-ecs-agent/pull/3101, older image version is not available in ECRmisc/pause-container/Dockerfile
-FROM gcc:7.3.0 as build
toFROM public.ecr.aws/docker/library/gcc:11.2.0 as build
- Older gcc is not available in ECR, following https://github.com/aws/amazon-ecs-agent/pull/3108Testing
Built all the images locally.
New tests cover the changes:
Description for the changelog
Additional Information
Does this PR include breaking model changes? If so, Have you added transformation functions?
**Does this PR include the addition of new environment variables in the README?**Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.