Sign inSign up

lorentzca/aws

By lorentzca

•Updated over 7 years ago

Execute AWS CLI.

Image
0

7.8K

Dockerfile
FROM alpine:3.9.4

ARG pip_installer="https://bootstrap.pypa.io/get-pip.py"
ARG awscli_version="1.16.168"

# Install dependent packages
RUN apk --update add \
    python \
    curl \
    groff

# Install awscli
RUN curl ${pip_installer} | python && \
    pip install awscli==${awscli_version}

# Execute aws command
ENV PAGER="less"
ENTRYPOINT ["/usr/bin/aws"]
CMD ["help"]