mirror of
https://github.com/aquasecurity/trivy.git
synced 2026-01-31 13:53:14 +08:00
Before this change, only a subset of templates were included in the docker image. Now all templates which are part of the git repo will be included when the docker image will be build, a future commit for every new template is not needed anymore
6 lines
145 B
Docker
6 lines
145 B
Docker
FROM alpine:3.12
|
|
RUN apk --no-cache add ca-certificates git rpm
|
|
COPY trivy /usr/local/bin/trivy
|
|
COPY contrib/*.tpl contrib/
|
|
ENTRYPOINT ["trivy"]
|