NO-JIRA: extensions/Dockerfile: add extensions.json to last layer - #1966
NO-JIRA: extensions/Dockerfile: add extensions.json to last layer#1966cverna wants to merge 1 commit into
Conversation
Backport of commit 31816ac from master. On release branches the extensions container is still built by coreos-assembler, which bind-mounts /tmp/extensions.json into the build to propagate the extensions metadata into the build's meta.json, so keep writing to that path. In addition, bake extensions.json into the final container image, so that it is easy for anyone but particularly ART to query metadata about the extensions container, e.g. via `oc image extract` or `podman run $img cat /usr/share/rpm-ostree/extensions.json`. Assisted-by: AI
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
This would be useful to help with verifying CVEs in the extensions container, testing on 4.18 before backporting further |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cverna 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 |
|
@cverna: This pull request explicitly references no jira issue. 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. |
|
@cverna: 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. |
Backport of commit 31816ac from master. On release branches the extensions container is still built by coreos-assembler, which bind-mounts /tmp/extensions.json into the build to propagate the extensions metadata into the build's meta.json, so keep writing to that path.
In addition, bake extensions.json into the final container image, so that it is easy for anyone but particularly ART to query metadata about the extensions container, e.g. via
oc image extractorpodman run $img cat /usr/share/rpm-ostree/extensions.json.Assisted-by: AI