openshift-pipelines / pipeline-service

SaaS for Tekton Pipelines
Apache License 2.0
23 stars 44 forks source link

Use a package manager for installing binaries #212

Open fgiloux opened 2 years ago

fgiloux commented 2 years ago

In some of our images we download binaries with curl and copy them into the filesystem. Whenever possible we should use a package manager for the installation. Examples: https://github.com/openshift-pipelines/pipeline-service/blob/main/images/access-setup/Dockerfile#L8-L13

Rational: These binaries are not "visible" to image scanners, which means that CVEs may get unnoticed.

adambkaplan commented 2 years ago

+1 - all our images will need to be onboarded to HACBS, which won't let us curl | bash to install components.