Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 642 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 642 Bytes

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.