ntfy/docker/trivy/Dockerfile

8 lines
178 B
Docker

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"]