Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to awscli v2 #1

Merged
merged 1 commit into from
Apr 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
FROM docker:19.03.4

RUN apk update \
&& apk upgrade \
&& apk add --no-cache --update python3 python py-pip coreutils \
&& rm -rf /var/cache/apk/* \
&& pip install awscli \
&& apk --purge -v del py-pip
RUN apk update
RUN apk upgrade
RUN apk add --no-cache --update python3 python py-pip coreutils curl
RUN rm -rf /var/cache/apk/*

RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
RUN unzip awscliv2.zip
RUN ./aws/install
RUN apk --purge -v del py-pip

ADD run.py /run.py
ADD entrypoint.sh /entrypoint.sh
Expand Down