Closed
Description
Abstract
Like:
https://github.com/aquasecurity/microscanner#adding-microscanner-to-your-dockerfile
Example
$ cat Dockerfile
FROM alpine:3.10
ADD https://github.com/aquasecurity/trivy/releases/download/v0.3.1/trivy_0.3.1_Linux-64bit.tar.gz
RUN ./trivy
$ docker build -t test .
...
alpine:3.10 (alpine 3.10.2)
===========================
Total: 3 (UNKNOWN: 0, LOW: 1, MEDIUM: 2, HIGH: 0, CRITICAL: 0)