Skip to content

Commit 9b0b231

Browse files
docker files changes to install aws cli
1 parent e0da528 commit 9b0b231

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

ci-runner/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ FROM docker:20.10.24-dind
1818
RUN apk update && apk add --no-cache --virtual .build-deps && apk add bash && apk add make && apk add curl && apk add git && apk add zip && apk add jq && \
1919
ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
2020
apk -Uuv add groff less python3 py3-pip && \
21+
pip3 install awscli==1.38.11 && \
2122
apk --purge -v del py-pip && \
2223
rm /var/cache/apk/*
2324

ci-runner/Dockerfile-v27

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ FROM docker:27.3-dind
1818

1919
RUN apk update && apk add --no-cache --virtual .build-deps && apk add bash && apk add make && apk add curl && apk add git && apk add zip && apk add jq && \
2020
ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
21-
apk -Uuv add groff less python3 py3-pip && \
21+
apk -Uuv add groff less python3 py3-pip pipx && \
22+
pipx ensurepath && pipx install awscli && \
2223
apk --purge -v del py-pip && \
2324
rm /var/cache/apk/*
2425

0 commit comments

Comments
 (0)