-
Notifications
You must be signed in to change notification settings - Fork 19
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
Remove linux-headers
apk from Dockerfile (upstream backport to release-4.15)
#54
base: release-4.15
Are you sure you want to change the base?
Conversation
Referring an exact version of the linux-headers package might break image building process, with errors like: ``` ``` Not putting a pinnged version make hadolint complaining: ``` Dockerfile:8 DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>` ``` Signed-off-by: Andrea Panattoni <[email protected]> Signed-off-by: Thomas Haller <[email protected]>
4eb8a78
to
001c8f9
Compare
Hi @thom311. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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 kubernetes-sigs/prow repository. |
/approve |
/hold Hi @thom311, let me know if we can close this PR or I miss something |
I personally, I can build images using "Dockerfile.rhel7" just fine, because I have an account. The problem is, that I am no conveniently able to share that built, as I would need to prevent unautorized users from getting it. That means, there is no reasonable way to build an upstream image of ib-sriov-cni. It would require to patch the Dockerfile or write your own. |
/ok-to-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: SchSeba, thom311, wizhaoredhat The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@thom311: all tests passed! Full PR test history. Your PR dashboard. 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/hold cancel |
@thom311 you will need to create a Bug for this PR to go in I think |
@SchSeba I am reconsidering this. With What I really want to do, is being able to build latest This makes development and testing cumbersome. And not being able share the build freely is also against open source principles. What would be a better solution? |
Hi @thom311, so I am fine merging this one here if you want and you can push to your quay (it's private by default) and just add your user or a robot account to your cluster |
the problem is that those upstream That makes this PR pointless, I will close it. Thanks. Optimally, we would have Dockerfiles that allow to build the opensource project and get something usable. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Backport commit fc002af to
release-4.15
branch. This is upstream k8snetworkplumbingwg/ib-sriov-cni#84Otherwise, build fails: