Skip to content

Refactor use of ubi-minimal image, make basis for go-fips

Jason Plum requested to merge convert-gitlab-runner-go-fips into distroless

What does this MR do?

Move go-fips to build directly on ubi-minimal

  • Add UBI_MINIMAL_IMAGE to variables, and default to content from Dockerfiles.
  • Use UBI_MINIMAL_IMAGE as base for go-fips instead of ubi-fips-base
  • Add parameters to go-fips and ubi-fips-base to intake `UBI_MINIMAL_IMAGE

Why was this MR needed?

The go-fips image is not a final image, and is used for compilation of Go programs. We needed this image to not be based on ubi-fips-base, as that should be a ubi-micro based image (see !2 (merged)).

What's the best way to test this MR?

What are the relevant issue numbers?

Related to ubi#54 (closed)

Closes ubi#69 (closed)

Edited by Jason Plum

Merge request reports