Skip to content

Commit

Permalink
install apk package for aws-cli instead of using pip
Browse files Browse the repository at this point in the history
  • Loading branch information
lbjay committed Jul 17, 2023
1 parent 1ede5c1 commit 94b6166
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ FROM docker:19.03.14

RUN apk update && apk upgrade
RUN apk add --no-cache \
python3 py3-pip coreutils bash git nodejs curl \
&& pip3 install -U pip \
&& pip3 install awscli \
python3 py3-pip coreutils bash git nodejs curl aws-cli \
&& rm -rf /var/cache/apk/*

RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | \
Expand Down

0 comments on commit 94b6166

Please sign in to comment.