File tree Expand file tree Collapse file tree 1 file changed +14
-22
lines changed Expand file tree Collapse file tree 1 file changed +14
-22
lines changed Original file line number Diff line number Diff line change 1- FROM zolweb/docker-dev:1.3.0
1+ FROM zolweb/docker-dev:alpine-1.0.2
22
3- RUN apt-get clean && apt-get update -qq && apt-get install -qqy --no-install-recommends \
4- build-essential \
5- zlib1g-dev \
6- libssl-dev \
7- libncurses-dev \
8- libffi-dev \
9- libsqlite3-dev \
10- libreadline-dev \
11- libbz2-dev
123
13- ENV PYENV_GIT_TAG=v2.3.12
14- RUN curl https://pyenv.run | bash
15- ENV PATH="/root/.pyenv/bin:${PATH}"
4+ RUN apk update && apk add --update --no-cache \
5+ g++ \
6+ gcc \
7+ zlib-dev \
8+ bash \
9+ python3 py3-pip \
10+ && rm -rf /var/cache/apk/*
1611
17- RUN pyenv install 3.10.4 \
18- && pyenv global 3.10.4
19- ENV PATH="/root/.pyenv/versions/3.10.4/bin:${PATH}"
20- RUN python -m pip install virtualenv \
21- && git clone https://github.com/aws/aws-elastic-beanstalk-cli-setup.git \
22- && python ./aws-elastic-beanstalk-cli-setup/scripts/ebcli_installer.py
2312
24- COPY --from=amazon/aws-cli:2.9.20 /usr/local/aws-cli/ /usr/local/aws-cli/
13+ RUN pip install wheel\
14+ && pip install "Cython<3.0" "pyyaml<6" --no-build-isolation \
15+ && python3 -m pip install awsebcli --no-cache-dir
16+
17+
18+ SHELL ["/bin/bash" ]
2519
26- ENV PATH="/root/.ebcli-virtual-env/executables:${PATH}"
27- ENV PATH="/usr/local/aws-cli/v2/current/bin/:${PATH}"
You can’t perform that action at this time.
0 commit comments