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
|
2020-04-24 20:13:46 +08:00
|
|
|
RUN /root/.pyenv/versions/3.7.2/bin/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"]
|
|
|
|
|