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