Skip to content

theidledeveloper/aws-cli-alpine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Name Details
theidledeveloper/aws-cli-alpine:2.x.x-alpine3.18 theidledeveloper/aws-cli-alpine:2.x.x Specific version with an alpine 3.18 base operating system. This is also deemed latest.
theidledeveloper/aws-cli-alpine:2.x.x-alpine3.17 Specific version with an alpine 3.17 base operating system
theidledeveloper/aws-cli-alpine:2.x.x-alpine3.16 Specific version with an alpine 3.16 base operating system
theidledeveloper/aws-cli-alpine:2.x.x-alpine3.15 Specific 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 Name Details
theidledeveloper/aws-cli-alpine:v2-nightly-alpine3.18 theidledeveloper/aws-cli-alpine:v2-nightly Docker Image Size (tag) Docker Image Size (tag)
theidledeveloper/aws-cli-alpine:v2-nightly-alpine3.17 Docker Image Size (tag)
theidledeveloper/aws-cli-alpine:v2-nightly-alpine3.16 Docker Image Size (tag)
theidledeveloper/aws-cli-alpine:v2-nightly-alpine3.15 Docker 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

About

AWS CLI v2 image for alpine linux

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •