-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (19 loc) · 842 Bytes
/
Dockerfile
File metadata and controls
22 lines (19 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM zolweb/docker-dev:1.4.0
ENV PYENV_GIT_TAG=v2.3.36
ENV PATH="/usr/local/aws-cli/v2/current/bin/:/root/.ebcli-virtual-env/executables:/root/.pyenv/versions/3.11.8/bin:/root/.pyenv/bin:${PATH}"
RUN apt-get clean && apt-get update -qq && apt-get install -qqy --no-install-recommends \
build-essential \
zlib1g-dev \
libssl-dev \
libncurses-dev \
libffi-dev \
libsqlite3-dev \
libreadline-dev \
libbz2-dev \
&& curl https://pyenv.run | bash \
&& pyenv install 3.11.8 \
&& pyenv global 3.11.8 \
&& python -m pip install virtualenv \
&& git clone https://github.com/aws/aws-elastic-beanstalk-cli-setup.git \
&& python ./aws-elastic-beanstalk-cli-setup/scripts/ebcli_installer.py
COPY --from=amazon/aws-cli:2.15.38 /usr/local/aws-cli/ /usr/local/aws-cli/