Skip to content

Adding support for aws cli v2 - #79

Closed
clayrosenthal wants to merge 1 commit into
alpine-docker:masterfrom
clayrosenthal:aws-cli-v2
Closed

Adding support for aws cli v2#79
clayrosenthal wants to merge 1 commit into
alpine-docker:masterfrom
clayrosenthal:aws-cli-v2

Conversation

@clayrosenthal

@clayrosenthal clayrosenthal commented Feb 21, 2025

Copy link
Copy Markdown

Adding support for awscliv2, toggled by env var AWS_CLI being set to v2 or 2

Taking a crack, as #31 is stale.

Testing:

$ docker run --rm  -it localhost/alpine/k8s:1.31.6 aws --version             
aws-cli/1.37.25 Python/3.12.9 Linux/6.11.3-200.fc40.aarch64 botocore/1.36.25
$ docker run --rm -e AWS_CLI=v1 localhost/alpine/k8s:1.31.6 aws --version
aws-cli/1.37.25 Python/3.12.9 Linux/6.11.3-200.fc40.aarch64 botocore/1.36.25
$ docker run --rm -e AWS_CLI=v2 -it localhost/alpine/k8s:1.31.6 aws --version
aws-cli/2.22.10 Python/3.12.9 Linux/6.11.3-200.fc40.aarch64 source/aarch64.alpine.3

@ozbillwang

Copy link
Copy Markdown
Collaborator

Frankly say, I shouldn't include AWS CLI in this image at beginning.

@ozbillwang ozbillwang closed this Sep 2, 2026
@Orachigami

Copy link
Copy Markdown

Frankly say, I shouldn't include AWS CLI in this image at beginning.

Nobody can foresee everything.
Anyway, thank you for your time and image. That's unfortunate that this and my PR won't be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants