UPD: adding awscli

This commit is contained in:
xpk 2020-04-24 20:13:46 +08:00
parent 7d26aa9233
commit 4dcf6c2da1
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86

View File

@ -3,7 +3,7 @@ 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 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 git clone https://github.com/aws/aws-elastic-beanstalk-cli-setup.git
RUN ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer RUN ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer
RUN pip install awscli 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" ENV PATH="/root/.ebcli-virtual-env/executables:/root/.pyenv/versions/3.7.2/bin:$PATH"
CMD ["/bin/bash"] CMD ["/bin/bash"]