Move Docker image to AL2023
Description of changes:
Use Amazon Linux 2023 as the base image for generating the AWS CLI container image.
It does not make any changes to how the container is constructed, and seems to work fine on my Graviton 2 system.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.08%. Comparing base (
408d511) to head (fb30c3f). Report is 2443 commits behind head on v2.
Additional details and impacted files
@@ Coverage Diff @@
## v2 #7891 +/- ##
==========================================
+ Coverage 93.07% 93.08% +0.01%
==========================================
Files 355 355
Lines 37656 37656
Branches 6029 6029
==========================================
+ Hits 35048 35052 +4
+ Misses 1952 1948 -4
Partials 656 656
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Ping?
Hello? Anyone? Bueller?
@kyleknap @hssyoo Hi all, per https://github.com/aws/aws-cli#getting-help we have raised an AWS support ticket to ask for consideration re: this change request.
@kellertk @tim-finnigan Hello from 2024! Any plans yet to upgrade the base of this image? Thx,
I am all for the update, just in AL2023 install is much simpler. I believe this is an equivalent Dockerfile:
FROM public.ecr.aws/amazonlinux/amazonlinux:2023
RUN dnf install -y awscli less groff \
&& dnf clean all
WORKDIR /aws
ENTRYPOINT ["/usr/local/bin/aws"]
Beginning with AWS CLI v2.27.51, the published Docker images now use Amazon Linux 2023 as the base image. Please see our announcement for more details: https://github.com/aws/aws-cli/issues/9586