Skip to content

Conversation

@cbs228
Copy link
Owner

@cbs228 cbs228 commented Sep 6, 2025

Misc reproducibility fixes for CI container images:

  • Build with buildah instead of podman
  • Eliminate COPY instructions, which depend on the host umask
  • Clone the entire repo when building on GH Actions

Add the git commit hash to the manifest of each platform image.
Clone the entire history when building containers. That way, we
will be able to find an appropriate commit hash and time for the
containers subdirectory.
Migrate the local container builder to buildah instead of podman.
This will permit us to use the `redhat-actions/buildah-build`
GH action, or podman directly, to obtain equivalent results on CI.
In buildah and podman, executing a Dockerfile `COPY` operation
respects the *host* user's umask. This causes unwanted variation
between build environments.

Instead, mount the host filesystem and copy the file with the
permissions we want.
@cbs228 cbs228 merged commit c76b372 into develop Sep 6, 2025
13 checks passed
@cbs228 cbs228 deleted the feature/ci_buildah branch September 6, 2025 23:53
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.

2 participants