diff --git a/Dockerfile b/Dockerfile index bdf597e..7c70c0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,7 @@ RUN wget "https://products.s.kaspersky-labs.com/endpoints/keslinux10/10.1.1.6421 ADD answer.txt /root/answer.txt RUN /opt/kaspersky/kesl/bin/kesl-setup.pl --autoinstall=/root/answer.txt ; true ADD start.sh /root/start.sh +add readme /root/readme RUN chmod +x /root/start.sh ENTRYPOINT ["/root/start.sh"] CMD ["shell"] diff --git a/start.sh b/start.sh index 72afe7f..dcbdc9e 100644 --- a/start.sh +++ b/start.sh @@ -9,7 +9,7 @@ case "${1}" in echo "stage: ${1}" start_service echo "Usage:" - echo "kesl-control --scan-file " + cat /root/readme /bin/bash ;; version ) @@ -27,6 +27,8 @@ case "${1}" in ;; debug ) echo "stage: ${1}" + echo "Usage:" + cat /root/readme /bin/bash ;; esac