Skip to content
Snippets Groups Projects
Commit 12dc5adb authored by nimrod's avatar nimrod
Browse files

Workbench: Install the AWS CLI using Pipx.

parent 86e0e33a
No related branches found
No related tags found
No related merge requests found
Pipeline #4086 failed
...@@ -174,7 +174,6 @@ ENV PIPX_HOME /opt/pipx ...@@ -174,7 +174,6 @@ ENV PIPX_HOME /opt/pipx
ENV PIPX_BIN_DIR /opt/pipx/bin ENV PIPX_BIN_DIR /opt/pipx/bin
# hadolint ignore=DL3013 # hadolint ignore=DL3013
RUN python3 -m pip install --no-cache-dir --break-system-packages \ RUN python3 -m pip install --no-cache-dir --break-system-packages \
https://github.com/aws/aws-cli/archive/refs/heads/v2.zip \
Glances \ Glances \
PyGObject \ PyGObject \
PyMySQL \ PyMySQL \
...@@ -245,6 +244,7 @@ RUN python3 -m pip install --no-cache-dir --break-system-packages \ ...@@ -245,6 +244,7 @@ RUN python3 -m pip install --no-cache-dir --break-system-packages \
&& \ && \
pipx install chalice && \ pipx install chalice && \
pipx install curator-opensearch && \ pipx install curator-opensearch && \
pipx install https://github.com/aws/aws-cli/archive/refs/heads/v2.zip && \
rm -rf /tmp/* /var/tmp/* ~/.cache/* rm -rf /tmp/* /var/tmp/* ~/.cache/*
ENV COREPACK_HOME=/usr/local/share/corepack ENV COREPACK_HOME=/usr/local/share/corepack
# hadolint ignore=DL3016 # hadolint ignore=DL3016
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment