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
trivy image --image-config-scanners misconf doesn't work with Buildkit now. Images built by Docker have the /bin/sh -c prefix, while Buildkit doesn't.
$ docker history test
IMAGE CREATED CREATED BY SIZE COMMENT
b1afcbbdcdae 5 seconds ago ADD foo.txt . # buildkit 0B buildkit.dockerfile.v0
<missing> 37 seconds ago RUN /bin/sh -c ls # buildkit 0B buildkit.dockerfile.v0
<missing> 11 months ago /bin/sh -c #(nop) CMD ["/bin/sh"] 0B
<missing> 11 months ago /bin/sh -c #(nop) ADD file:9bd9ea42a9f3bdc76… 7.46MB
Description
trivy image --image-config-scanners misconf
doesn't work with Buildkit now. Images built by Docker have the/bin/sh -c
prefix, while Buildkit doesn't.Discussed in #5972
The text was updated successfully, but these errors were encountered: