LABEL maintainer="racken@one27.cf" LABEL description="AWS ebcli on Alpine" FROM alpine:latest ENV container docker RUN apk add python openssl wget curl git bash gcc make musl-dev zlib-dev libffi-dev bzip2-dev openssl-dev readline-dev RUN git clone https://github.com/aws/aws-elastic-beanstalk-cli-setup.git RUN ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer RUN /root/.pyenv/versions/3.7.2/bin/pip install awscli ENV PATH="/root/.ebcli-virtual-env/executables:/root/.pyenv/versions/3.7.2/bin:$PATH" CMD ["/bin/bash"]