File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,18 @@ RUN apk --no-cache add \
1212 py-pip \
1313 openssh-client
1414
15- RUN apk --no-cache add build-base python-dev libffi-dev openssl-dev
16-
1715RUN pip install --upgrade pip \
18- awscli \
19- awsebcli
16+ awscli
17+
18+ # https://github.com/aws/aws-elastic-beanstalk-cli-setup
19+ RUN apk --no-cache add --virtual .build-dependencies build-base python-dev libffi-dev openssl-dev && \
20+ git clone https://github.com/aws/aws-elastic-beanstalk-cli-setup.git && \
21+ pip install virtualenv && \
22+ python aws-elastic-beanstalk-cli-setup/scripts/ebcli_installer.py && \
23+ rm -rf aws-elastic-beanstalk-cli-setup /root/.cache && \
24+ apk del --purge .build-dependencies
2025
21- RUN apk --no-cache del build-base python-dev libffi-dev openssl-dev
26+ ENV PATH /root/.ebcli-virtual-env/executables:$PATH
2227
2328RUN curl -L https://github.com/barnybug/cli53/releases/download/0.8.16/cli53-linux-386 > /usr/bin/cli53 && \
2429 chmod +x /usr/bin/cli53
You can’t perform that action at this time.
0 commit comments