added helpful readme to container
This commit is contained in:
@@ -6,6 +6,7 @@ RUN wget "https://products.s.kaspersky-labs.com/endpoints/keslinux10/10.1.1.6421
|
|||||||
ADD answer.txt /root/answer.txt
|
ADD answer.txt /root/answer.txt
|
||||||
RUN /opt/kaspersky/kesl/bin/kesl-setup.pl --autoinstall=/root/answer.txt ; true
|
RUN /opt/kaspersky/kesl/bin/kesl-setup.pl --autoinstall=/root/answer.txt ; true
|
||||||
ADD start.sh /root/start.sh
|
ADD start.sh /root/start.sh
|
||||||
|
add readme /root/readme
|
||||||
RUN chmod +x /root/start.sh
|
RUN chmod +x /root/start.sh
|
||||||
ENTRYPOINT ["/root/start.sh"]
|
ENTRYPOINT ["/root/start.sh"]
|
||||||
CMD ["shell"]
|
CMD ["shell"]
|
||||||
|
|||||||
4
start.sh
4
start.sh
@@ -9,7 +9,7 @@ case "${1}" in
|
|||||||
echo "stage: ${1}"
|
echo "stage: ${1}"
|
||||||
start_service
|
start_service
|
||||||
echo "Usage:"
|
echo "Usage:"
|
||||||
echo "kesl-control --scan-file <path>"
|
cat /root/readme
|
||||||
/bin/bash
|
/bin/bash
|
||||||
;;
|
;;
|
||||||
version )
|
version )
|
||||||
@@ -27,6 +27,8 @@ case "${1}" in
|
|||||||
;;
|
;;
|
||||||
debug )
|
debug )
|
||||||
echo "stage: ${1}"
|
echo "stage: ${1}"
|
||||||
|
echo "Usage:"
|
||||||
|
cat /root/readme
|
||||||
/bin/bash
|
/bin/bash
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user