Skip to content

sparkfabrik/docker-alpine-aws-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spark-docker-alpine-aws-cli

Docker image for AWS-CLI v2 on Alpine Linux.

Usage example

You can import the compiled binary created in this image in your Alpine Linux image.

FROM ghcr.io/sparkfabrik/docker-alpine-aws-cli:2.17.44-alpine3.20 as awscli

FROM alpine:3.20
# Install AWS CLI v2 using the binary builded in the awscli stage
COPY --from=awscli /usr/local/aws-cli/ /usr/local/aws-cli/
RUN ln -s /usr/local/aws-cli/v2/current/bin/aws /usr/local/bin/aws \
    && ln -s /usr/local/aws-cli/v2/current/bin/aws_completer /usr/local/bin/aws_completer

In the final image you can run the aws topics using the AWS CLI v2.