Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore : use --no-cache-dir flag to pip in dockerfiles to save space #659

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tools/ansible-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.
apt-get update && apt-get install google-cloud-sdk -y

#Installing ansible
RUN pip install ansible==2.7.3
RUN pip install --no-cache-dir ansible==2.7.3

RUN pip install ruamel.yaml.clib==0.1.2
RUN pip install --no-cache-dir ruamel.yaml.clib==0.1.2

#Installing openshift
RUN pip install openshift==0.11.2
RUN pip install --no-cache-dir openshift==0.11.2

#Installing jmespath
RUN pip install jmespath
RUN pip install --no-cache-dir jmespath

RUN touch /mnt/parameters.yml

Expand Down