xeol-io / xeol

A scanner for end-of-life (EOL) software and dependencies in container images, filesystems, and SBOMs
https://www.xeol.io/
Apache License 2.0
348 stars 21 forks source link

Simplify apk commands and prevent Alpine cache in Dockerfile.dev #442

Open PeterDaveHello opened 3 days ago

PeterDaveHello commented 3 days ago

Replace apk update && apk add with apk add --update to combine two operations into one and prevent temporary Alpine package index files (/var/cache/apk/*) from being left in the image.