aws-cli icon indicating copy to clipboard operation
aws-cli copied to clipboard

Move Docker image to AL2023

Open stewartsmith opened this issue 2 years ago • 6 comments

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.

stewartsmith avatar May 11 '23 23:05 stewartsmith

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.

codecov-commenter avatar May 24 '23 18:05 codecov-commenter

Ping?

stewartsmith avatar Aug 22 '23 15:08 stewartsmith

Hello? Anyone? Bueller?

stewartsmith avatar Nov 28 '23 01:11 stewartsmith

@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.

richgerrard avatar Nov 28 '23 15:11 richgerrard

@kellertk @tim-finnigan Hello from 2024! Any plans yet to upgrade the base of this image? Thx,

richgerrard avatar Jul 19 '24 17:07 richgerrard

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"]

supergibbs avatar Apr 04 '25 19:04 supergibbs

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

hssyoo avatar Jul 17 '25 15:07 hssyoo