Skip to content

images: Add toolbox image definitions for RHELs 8.5, 8.6, 8.7 and 9.1 - #1232

Merged
debarshiray merged 3 commits into
containers:mainfrom
debarshiray:wip/rishi/images-rhel
Feb 9, 2023
Merged

debarshiray merged 3 commits into
containers:mainfrom
debarshiray:wip/rishi/images-rhel

Conversation

@debarshiray

Copy link
Copy Markdown
Member

No description provided.

The canonical copy of README.md contains banners and labels in the
header that aren't useful when the file is shipped as part of the
images.  Hence, those were removed.

Only the images for currently maintained Fedoras (ie., 36, 37 and 38)
were updated.

containers#1231
This is the full definition of the UBI-based toolbox image published for
RHEL 9.1 [1] at registry.access.redhat.com/ubi9/toolbox:9.1.  Note that
the Dockerfile used to build this image was already available to the
public [2], but didn't include all the files necessary to build it.

However, this has some minor deviations from the published image.  The
FROM line has been changed to registry.access.redhat.com/ubi9:9.1 so
that it can be built outside Red Hat's build system and always points to
the desired RHEL version.  The extra-packages file doesn't have
gnupg2-smime because it doesn't seem to be actually part of the UBI RPM
repositories, and it's not clear how it works inside Red Hat's build
system.  Otherwise, 'podman build' fails with:
  STEP 11/14: RUN dnf -y install $(<extra-packages)
  ...
  Last metadata expiration check: 0:00:23 ago on Tue Feb  7 18:50:13...
  ...
  No match for argument: gnupg2-smime
  ...
  Error: Unable to find a match: gnupg2-smime
  Error: building at STEP "RUN dnf -y install $(<extra-packages)": while
    running runtime: exit status 1

[1] https://catalog.redhat.com/software/containers/ubi9/toolbox/61532d7dd2c7f84a4d2ed86b

[2] https://catalog.redhat.com/software/containers/ubi9/toolbox/61532d7dd2c7f84a4d2ed86b?container-tabs=dockerfile

containers#1232
This is the full definition of the UBI-based toolbox image published for
RHEL 8 >= 8.5 [1] at registry.access.redhat.com/ubi8/toolbox:8.7 and
such. Note that the Dockerfile used to build this image was already
available to the public [2], but didn't include all the files necessary
to build it.

The FROM line has been changed to registry.access.redhat.com/ubi8:8.7
and such so that it can be built outside Red Hat's build system and
always points to the desired RHEL version.

[1] https://catalog.redhat.com/software/containers/ubi8/toolbox/611bd665bd674341b5c5ed46

[2] https://catalog.redhat.com/software/containers/ubi8/toolbox/611bd665bd674341b5c5ed46?container-tabs=dockerfile

containers#1232
@debarshiray
debarshiray force-pushed the wip/rishi/images-rhel branch from f467467 to e0cd693 Compare February 7, 2023 21:20
@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

✔️ unit-test SUCCESS in 9m 11s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 09s
✔️ system-test-fedora-rawhide SUCCESS in 13m 41s
✔️ system-test-fedora-36 SUCCESS in 12m 27s
❌ system-test-fedora-35 NODE_FAILURE in 0s

@debarshiray
debarshiray merged commit e0cd693 into containers:main Feb 9, 2023
@debarshiray
debarshiray deleted the wip/rishi/images-rhel branch February 9, 2023 09:03
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.

1 participant