Update kubesec Dockerfile to use UBI8-minimal
Description
In order to harden the security of our Analyzers, we should migrate the base image to UBI8-minimal:8.4
.
Proposal
Update Dockerfile to use UBI8-minimal. See gitlab-org/security-products/analyzers/brakeman!70 (closed) for an example of this work.
You can use the analyzer-scripts for quick iteration locally when testing changes to your Dockerfiles.
Tasks
-
Update Dockerfile to use UBI8-minimal:8.4. -
Ensure microdnf update
is in the final stage -
Ensure the QA tests pass