collection.dockerfile/alpine/ebcli/Dockerfile

11 lines
530 B
Docker
Raw Normal View History

2022-01-17 15:56:05 +08:00
FROM alpine:latest
LABEL description="AWS ebcli on Alpine"
LABEL maintainer="racken@one27.cf"
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"]