Skip to content

Conversation

@treydock
Copy link
Contributor

@treydock treydock commented Aug 8, 2025

So far the changes I've used at Ohio Supercomputer Center to build images in an attempt to replicate what we do with NFS root.

  • EL9 image-builder image in order to build RHEL 9.4 images. Fixes [BUG] RPM database issue building RHEL 9.4 images #33
  • Support args with cmd so that I can do things like mount SSSD socket during image build.
  • Document --userns flag that allows the container's builder user to access things that might be 0600 permissions like locally stored secrets mounted into the build.

Copy link
Contributor

@travisbcotton travisbcotton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These all look perfectly reasonable to me. Appreciate the contributions!

Possible solution for OpenCHAMI#33

Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
@treydock
Copy link
Contributor Author

Added commit to fix #36

Publishing to registry at OMIT/image-builder
pushing layer pitzer-compute to OMIT/image-builder/pitzer-compute:9.4
pushing layer pitzer-compute to OMIT/image-builder/pitzer-compute:latest
pushing layer pitzer-compute to OMIT/image-builder/pitzer-compute:20250817
Screenshot 2025-08-17 at 3 15 16 PM

@treydock treydock marked this pull request as ready for review August 17, 2025 19:15
@treydock
Copy link
Contributor Author

The last commit makes it so there is one buildah commit for registry push but multiple buildah tag commands to associate the other tags with the commit and push those tags to registry using same image SHA.

@travisbcotton travisbcotton merged commit 70702bd into OpenCHAMI:main Aug 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] RPM database issue building RHEL 9.4 images

3 participants