crashappsec / chalk

Chalk allows you to follow code from development, through builds and into production.
https://crashoverride.com/
GNU General Public License v3.0
322 stars 11 forks source link

feat: docker provenance support #282

Closed miki725 closed 1 month ago

miki725 commented 2 months ago

Issue

fixes https://github.com/crashappsec/chalk/issues/180 fixes https://github.com/crashappsec/chalk/issues/277 fixes https://github.com/crashappsec/chalk/pull/282

Description

see commit message(s)

this PR is an extension to https://github.com/crashappsec/chalk/pull/266

Testing

make tests

for non-buildx testing something like:

➜ echo FROM alpine | docker run -i --rm -v /var/run/docker.sock:/var/run/docker.sock -v /etc/chalk.c4m:/etc/chalk.c4m -v ./chalk:/chalk docker:19 /chalk --trace docker build -f - -t test .

created https://github.com/crashappsec/chalk/issues/283 to improve in the future