You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build: drop pip by adopting the FOCA image without it #336
The image scan ignores findings in the copies of urllib3, setuptools and msgpack that pip vendors (.trivyignore.yaml, entries expiring on 2027-01-31). pip comes from the FOCA base image and is only used at build time. Once the entries expire, every image scan fails again, including on dev.
Proposal
This is fixed centrally in FOCA: elixir-cloud-aai/foca#556 removes pip from the FOCA image (FOCA 0.20.0). Once that is released:
Bump the base image to the FOCA release without pip.
Install the app's packages with uv from the stage that is already pinned by digest (uv pip install --system --require-hashes …), as documented by FOCA; don't copy uv into the final image. This includes any step that installs extra packages or plugins on top of the image.
Remove the pip-related entries from .trivyignore.yaml.
Update the docs that describe the image build.
Acceptance criteria
The final image contains no pip.
.trivyignore.yaml has no entries for packages vendored by pip, and the image scan passes.
Activity
[-]build: drop pip from image before CVE ignore ends[/-][+]build: drop pip by adopting the FOCA image without it[/+]