Sign inSign up

theidledeveloper/aws-cli-alpine

By theidledeveloper

•Updated 3 minutes ago

AWS CLI v2 using alpine linux

Image
0

100K+

theidledeveloper/aws-cli-alpine repository overview

⁠aws-cli-alpine

⁠Docker

Docker Pulls Docker Image Size (latest semver) Docker Stars

⁠Repository

Latest tag License

Repository URL⁠

⁠Build Status

Release Check Build

Latest Alpine Native Image Build Latest Alpine Image Build

Nightly Alpine Native Image Build Nightly Alpine Image Build

A minimal alpine linux container with the aws cli using the tag source from aws/aws-cli⁠.

⁠Configuration

aws-cli configuration⁠

⁠Images

Each image is created using one of the base Alpine releases (as seen below) and for both amd/64 and arm/64 architectures.

To run the images against different platforms, use the --platform switch when evoking your container runtime:

# amd64
docker run --platform linux/amd64 theidledeveloper/aws-cli-alpine:v2-nightly-alpine3.18 /bin/sh -c "aws --version"
# arm64
docker run --platform linux/arm64 theidledeveloper/aws-cli-alpine:v2-nightly-alpine3.18 /bin/sh -c "aws --version"
⁠Release Versions

Versioned released are created when a new version is tagged in aws/aws-cli/tags⁠.

Image NameDetails
theidledeveloper/aws-cli-alpine:2.x.x-alpine3.18 theidledeveloper/aws-cli-alpine:2.x.xSpecific version with an alpine 3.18 base operating system. This is also deemed latest.
theidledeveloper/aws-cli-alpine:2.x.x-alpine3.17Specific version with an alpine 3.17 base operating system
theidledeveloper/aws-cli-alpine:2.x.x-alpine3.16Specific version with an alpine 3.16 base operating system
theidledeveloper/aws-cli-alpine:2.x.x-alpine3.15Specific version with an alpine 3.15 base operating system
⁠Nightly Images

Nightly builds are created from the latest commit at aws/aws-cli/tree/v2⁠ for each alpine version listed below.

Image NameDetails
theidledeveloper/aws-cli-alpine:v2-nightly-alpine3.18 theidledeveloper/aws-cli-alpine:v2-nightlyDocker Image Size (tag) Docker Image Size (tag)
theidledeveloper/aws-cli-alpine:v2-nightly-alpine3.17Docker Image Size (tag)
theidledeveloper/aws-cli-alpine:v2-nightly-alpine3.16Docker Image Size (tag)
theidledeveloper/aws-cli-alpine:v2-nightly-alpine3.15Docker Image Size (tag)
⁠Build Locally

The image makes use of ARG instructions to allow the use of a single Dockerfile⁠ but build images with different base image versions of aws-cli tags. To properly supply the image ARGs pass in ALPINE_VERSION and AWS_CLI_VERSION using the --build-arg flag. Alpine image versions can be found at alpine dockerhub⁠ but also need to be cross checked with python alpine⁠ as this image is used to build the aws-cli from source. You can also find the available aws-cli tags here⁠.

To build an alpine 3.18+ aws-cli version 2.11.20 use below:

docker build --build-arg ALPINE_VERSION=3.18 --build-arg AWS_CLI_VERSION=2.11.20 -t aws-cli-alpine:2.11.20 .

To build an alpine 3.17 aws-cli version 2.9.8 use below:

docker build --build-arg ALPINE_VERSION=3.17 --build-arg AWS_CLI_VERSION=2.9.8 -t aws-cli-alpine:2.9.8 .
⁠Information

Inspired by devopscorner/aws-cli⁠

Tag summary

Content type

Image

Digest

sha256:6ab709a67…

Size

35.1 MB

Last updated

3 minutes ago

docker pull theidledeveloper/aws-cli-alpine:v2-nightly-alpine3.16