added helpful readme to container

This commit is contained in:
Tobias Kessels
2019-12-17 22:19:29 +01:00
parent db7e5b4eae
commit b6e6f38a69
2 changed files with 4 additions and 1 deletions

View File

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

View File

@@ -9,7 +9,7 @@ case "${1}" in
echo "stage: ${1}"
start_service
echo "Usage:"
echo "kesl-control --scan-file <path>"
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