Update docker/trivy/Dockerfile
This commit is contained in:
parent
921ff60e65
commit
f2914d30c0
|
@ -1,8 +1,7 @@
|
|||
FROM aquasec/trivy
|
||||
WORKDIR /app
|
||||
COPY start.sh /start.sh
|
||||
RUN chmod +x /start.sh && \
|
||||
trivy image --download-db-only
|
||||
RUN chmod +x /start.sh
|
||||
VOLUME /mnt
|
||||
VOLUME /log
|
||||
ENTRYPOINT ["/bin/sh", "/start.sh"]
|
Loading…
Reference in New Issue