Closed jupierce closed 6 months ago
Thank you for the PR, Justin. I probably shouldn't be doing reviews Friday evening, so only a few initial thoughts.
dockerfile_install_support.sh
and Dockerfile
. Can we also adjust Dockerfile
to use dockerfile_install_support.sh
?dockerfile_install_support.sh
should probably go to the /hack
directory.I'll try to do a more thorough review next week. PTO Monday. Thank you.
/test okd-scos-images
/lgtm cancel
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jmencak, jupierce
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@jupierce: This pull request references OKD-40 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set.
As this is one of the last images we need to get OKD building again and the changes should be a no-op to OCP. /label acknowledge-critical-fixes-only
Thank you for the changes, Justin. I thought we could get rid of the second "RUN" completely in both Dockerfiles, i.e. moving:
dnf clean all
rm -rf /var/cache/yum ~/patches /root/rpms
useradd -r -u 499 cluster-node-tuning-operator
too. But I don't think this is a blocker but we can clean this up later on.
So /lgtm
@jupierce: all tests passed!
Full PR test history. Your PR dashboard.
[ART PR BUILD NOTIFIER]
This PR has been included in build cluster-node-tuning-operator-container-v4.17.0-202405151441.p0.gf7fcf8c.assembly.stream.el9 for distgit cluster-node-tuning-operator. All builds following this will include this PR.
In order to support build OKD images on SCOS, the OKD team needs either (a) the same dockerfile to build successfully on CentOS and RHEL or (b) a separate file that builds on CentoS with the same number of layers as used by the OCP Dockerfile built by ART. This approach unifies the NTO Dockerfile.rhel9 to support model (a).
The Dockerfile.rhel9 OKD image size is ~495MiB vs a 453MB Dockerfile build.