Update docker/trivy/Dockerfile

This commit is contained in:
colin 2024-01-20 22:38:45 +00:00
parent 921ff60e65
commit f2914d30c0
1 changed files with 1 additions and 2 deletions

View File

@ -1,8 +1,7 @@
FROM aquasec/trivy FROM aquasec/trivy
WORKDIR /app WORKDIR /app
COPY start.sh /start.sh COPY start.sh /start.sh
RUN chmod +x /start.sh && \ RUN chmod +x /start.sh
trivy image --download-db-only
VOLUME /mnt VOLUME /mnt
VOLUME /log VOLUME /log
ENTRYPOINT ["/bin/sh", "/start.sh"] ENTRYPOINT ["/bin/sh", "/start.sh"]