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 ENV PATH="/root/.ebcli-virtual-env/executables:/root/.pyenv/versions/3.7.2/bin:$PATH" CMD ["/bin/bash"]