Prepping for readonly mode
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
colin 2024-01-20 16:42:35 +00:00
parent b38983d166
commit 155453c408
1 changed files with 4 additions and 1 deletions

View File

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