Skip to content

fix: add tar/gzip to CI image and fix CA cert path for nvidia-ctk stage#12

Merged
maxamillion merged 1 commit into
LobsterTrap:midstreamfrom
maxamillion:container-builds
Apr 3, 2026
Merged

fix: add tar/gzip to CI image and fix CA cert path for nvidia-ctk stage#12
maxamillion merged 1 commit into
LobsterTrap:midstreamfrom
maxamillion:container-builds

Conversation

@maxamillion

Copy link
Copy Markdown

Summary

Fixes two remaining container image build failures.

Problem 1: gzip: Cannot exec: No such file or directory in CI image

The Docker CLI install step uses tar xz which requires gzip. The Hummingbird core-runtime:latest-builder doesn't include gzip.

Problem 2: SSL CA cert path mismatch in nvidia-container-toolkit stage

The NVIDIA repo config hardcodes sslcacert=/etc/pki/tls/certs/ca-bundle.crt. Hummingbird images store the CA bundle at /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem instead. Even after update-ca-trust, the expected path doesn't exist.

Fix

  1. Add gzip to the CI image's dnf install list
  2. Create a symlink: /etc/pki/tls/certs/ca-bundle.crt -> /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem

Both fixes verified locally with podman run.

Dockerfile.ci: add gzip to dnf install (tar was already listed but
gzip is needed for tar xz decompression of Docker CLI archive).

Dockerfile.images nvidia-ctk stage: create symlink from the standard
Fedora CA bundle path (/etc/pki/tls/certs/ca-bundle.crt) to the
Hummingbird-provided bundle (/etc/pki/ca-trust/extracted/pem/
tls-ca-bundle.pem). The NVIDIA repo config hardcodes the former path
which does not exist on Hummingbird images.

Signed-off-by: Adam Miller <admiller@redhat.com>
@coderabbitai

coderabbitai Bot commented Apr 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 83fc69f4-985b-45c0-8b02-d58851975b8d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@maxamillion maxamillion merged commit 0328490 into LobsterTrap:midstream Apr 3, 2026
11 checks 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.

1 participant