code-dumps/dockerfiles/centos8-ebcli.txt

10 lines
432 B
Plaintext
Raw Normal View History

2020-04-24 19:31:24 +08:00
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 pip install awscli
2020-04-24 19:36:06 +08:00
ENV PATH="/root/.ebcli-virtual-env/executables:/root/.pyenv/versions/3.7.2/bin:$PATH"
2020-04-24 19:31:24 +08:00
CMD ["/bin/bash"]