Skip to content

Commit

Permalink
Merge pull request #651 from kubevirt-bot/cherry-pick-648-to-release-…
Browse files Browse the repository at this point in the history
…v0.27

[release-v0.27] fix: creation of /.ansible folder in builder dockerfile
  • Loading branch information
kubevirt-bot authored Dec 2, 2024
2 parents acc00fa + 5bb4e96 commit 45580b6
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 libosinfo intlto

# 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 45580b6

Please sign in to comment.