Skip to content

Commit

Permalink
fix(v1): Avoid pip error: externally-managed-environment
Browse files Browse the repository at this point in the history
  • Loading branch information
CheyiLin committed Dec 21, 2023
1 parent 9b85bfc commit 6fcf585
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions v1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ ARG AWS_CLI_VERSION=1.29.10
ENV AWS_CLI_VERSION=${AWS_CLI_VERSION}

SHELL ["/bin/ash", "-euxo", "pipefail", "-c"]
RUN apk --no-cache add bash openssl gettext curl python3 jq make; \
curl -s "https://bootstrap.pypa.io/get-pip.py" | python3 -; \
pip install --no-cache-dir awscli==${AWS_CLI_VERSION}
RUN apk --no-cache add bash openssl gettext curl python3 py3-pip jq make; \
pip install --no-cache-dir --break-system-packages awscli==${AWS_CLI_VERSION}

CMD ["bash"]

2 comments on commit 6fcf585

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pipeline has passed. 🎉

  • context: v1
  • version: 1.32.5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pipeline has passed. 🎉

  • context: v2
  • version: 2.15.3

Please sign in to comment.