Use script without arguments as entry point to allow running any command on the resulting container without having to override entry point.

This commit is contained in:
janpapenbrock
2017-05-06 10:00:37 +02:00
parent 0a02f43b8c
commit 7c1c99f5f9
2 changed files with 5 additions and 3 deletions

View File

@@ -19,4 +19,5 @@ VOLUME ["/src" "/usr/share/dependency-check/data" "/report"]
WORKDIR /report
ENTRYPOINT ["/usr/share/dependency-check/bin/dependency-check.sh", "--scan", "/src"]
CMD ["--help"]
ENTRYPOINT ["/usr/share/dependency-check/bin/dependency-check.sh"]