Skip to content

Commit

Permalink
Merge pull request #648 from ksimon1/fix-dockerfile
Browse files Browse the repository at this point in the history
fix: creation of /.ansible folder in builder dockerfile
  • Loading branch information
kubevirt-bot authored Nov 27, 2024
2 parents 16d3b8d + 7f86374 commit bfb8413
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ RUN dnf install -y jq ansible python3-gobject python3-openshift python3-pip libo

# Allow writes to /etc/passwd so a user for ansible can be added by CI commands
RUN chmod a+w /etc/passwd

# Create ansible tmp folder and set permissions
RUN mkdir -p /.ansible/tmp && \
chmod -R 777 /.ansible
RUN mkdir -m 777 -p /.ansible/tmp

# Download latest stable oc client binary
RUN curl -L https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable/openshift-client-linux.tar.gz | tar -C /usr/local/bin -xzf - oc && \
Expand Down

0 comments on commit bfb8413

Please sign in to comment.