Skip to content

Commit

Permalink
install awscli using python3
Browse files Browse the repository at this point in the history
  • Loading branch information
jghowe committed Apr 19, 2022
1 parent 9c8ceff commit 87c9ffa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ ENV HELM_3_FILE="helm-v3.4.2-linux-amd64.tar.gz"

RUN apk add --no-cache ca-certificates \
--repository http://dl-3.alpinelinux.org/alpine/edge/community/ \
jq curl bash nodejs aws-cli && \
jq curl bash nodejs && \
# Install python3 and AWS CLI:
apk add --update --no-cache python3 && \
ln -sf python3 /usr/bin/python && \
python3 -m ensurepip && \
pip3 install awscli && \
# Install helm version 2:
curl -L ${BASE_URL}/${HELM_2_FILE} |tar xvz && \
mv linux-amd64/helm /usr/bin/helm && \
Expand Down

0 comments on commit 87c9ffa

Please sign in to comment.