Skip to content

Commit

Permalink
ci: install pip from apt in ci-runner image (#1706)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenruizdegauna authored Jul 19, 2023
1 parent 1cfd539 commit d152cb5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build/ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ ENV ANSIBLE_INVENTORY_FOLDER=$ANSIBLE_INVENTORY_FOLDER_ARG
VOLUME /srv/runner/inventory/

RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt install -y make wget unzip git gcc curl jq python3
RUN DEBIAN_FRONTEND=noninteractive apt install -y make wget unzip git gcc curl jq python3 pip

RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python3 get-pip.py --user && \
python3 -m pip install --user ansible==$ANSIBLE_VERSION jmespath pywinrm
RUN python3 -m pip install --user ansible==$ANSIBLE_VERSION jmespath pywinrm
ENV PATH=$PATH:/root/.local/bin

RUN wget "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" && unzip awscli-exe-linux-x86_64.zip && ./aws/install
Expand Down

0 comments on commit d152cb5

Please sign in to comment.