UBI distroless: merge to canonical
What does this MR do?
Dockerfile.fips: UBI/fips image to be based on ubi-micro
Changes to make Dockerfile.fips build in multi-stage.
- Intermediate stages use ubi-minimal
- final stage is built over ubi-micro
Dockerfile.fips: add findutils, python39 to intermediate layer
- Adds findutils (find, xargs) to intermediate image, as used by rules
validation
- Adds semgrep (and needs) to intermediate image, so that rule validation
can be performed in the same RUN step as download.
What are the relevant issue numbers?
Closes gitlab-org/cloud-native/distroless/ubi#75 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests updated/added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Jason Plum