Update docker/trivy/Dockerfile
This commit is contained in:
parent
921ff60e65
commit
f2914d30c0
|
@ -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"]
|
Loading…
Reference in New Issue