Open 0xDagal opened 1 week ago
@0xDagal would you be able to share your setup steps for your buildkit container?
Yes, I run it in a docker-compose like so:
services:
buildkitd:
image: moby/buildkit:latest
privileged: true
entrypoint: buildkitd
volumes:
- ./buildkitd.toml:/etc/buildkit/buildkitd.toml
in my buildkitd.toml
, there are only registry mirrors like for example:
[registry."quay.io"]
mirrors = ["my-quay-mirror.lan"]
Version of copa
v0.6.1-81-g2335453
Expected Behavior
Patching
nginx:1.21.6
with a proxy should work.Actual Behavior
The patch does not work:
Running in debug, I saw:
Steps To Reproduce
Run
trivy
onnginx:1.21.6
and name the reportnginx.1.21.6.json
then run amoby/buildkitd
container and finally runcopa patch -i nginx:1.21.6 -r nginx.1.21.6.json --addr docker-container://copa-buildkitd-1
.Are you willing to submit PRs to contribute to this bug fix?