OCPBUGS-76450: re-add caching directives to Dockerfile#5645
OCPBUGS-76450: re-add caching directives to Dockerfile#5645cheesesashimi wants to merge 1 commit intoopenshift:mainfrom
Conversation
|
@cheesesashimi: This pull request references Jira Issue OCPBUGS-76450, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Skipping CI for Draft Pull Request. |
|
/test images |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cheesesashimi The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@cheesesashimi: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
It looks like we still can't do this, so I will close this PR in favor of #5644. For posterity, this is the error message: error running container: from /usr/bin/runc creating container for [/bin/sh -c make install DESTDIR=./instroot-rhel9 && tar -C instroot-rhel9 -cf instroot-rhel9.tar .]: time="2026-02-10T15:27:58Z" level=error msg="runc create failed: invalid mount &{Source:/var/tmp/buildah412629249/mnt/buildah-bind-target-10 Destination:/go/rhel9/.cache Device:bind Flags:20480 ClearedFlags:1 PropagationFlags:[1048576] Data:z Relabel: RecAttr:<nil> Extensions:0 IDMapping:<nil>}: bind mounts cannot have any filesystem-specific options applied" |
|
@cheesesashimi: This pull request references Jira Issue OCPBUGS-76450. The bug has been updated to no longer refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
- What I did
Re-adds the caching directives to our Dockerfile to both speed up local builds and reduce overall image size.
- How to verify it
- Description for the changelog