This repository contains the Dockerfile for building an AWS CLI v2 image based on Alpine.
As of December 2022, this process is extremely slow (building on ARM architecture takes around an hour), that's why we separated this process into its own repository.
Other Alpine-based images can now simply pull pre-built the binaries like so:
COPY --from=ghcr.io/spacelift-io/aws-cli-alpine /usr/local/aws-cli/ /usr/local/aws-cli/
COPY --from=ghcr.io/spacelift-io/aws-cli-alpine /aws-cli-bin/ /usr/local/bin/
The newest releases can be found in the Releases section.
We check for the latest AWS CLI version in publish.yml
workflow periodically.
If a new version is found, we create a tag, then build and publish it to GitHub Container Registry.