code-dumps/dockerfiles/centos8-ebcli.txt
2020-04-24 20:13:46 +08:00

10 lines
464 B
Plaintext

FROM centos:8
ENV container docker
RUN yum -y install gcc make git python3 zlib-devel openssl-devel ncurses-devel libffi-devel sqlite-devel readline-devel bzip2-devel
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"]