Skip to content

Commit

Permalink
Merge pull request #19 from madpeteguy/feature/persistable_cahe
Browse files Browse the repository at this point in the history
Configurable and persistable cache dir
  • Loading branch information
madpeteguy authored Jul 16, 2024
2 parents 2c16290 + 88fac4e commit 407204f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/

COPY imgdata /opt

ENV TRIVY_CACHE_DIR=/trivy_cahe

VOLUME ["$TRIVY_CACHE_DIR"]

EXPOSE 22

CMD ["/usr/sbin/sshd", "-D"]

0 comments on commit 407204f

Please sign in to comment.