updated dockersep config

This commit is contained in:
Tobias Kessels
2019-05-06 00:29:50 +02:00
parent 4b9bf0285b
commit c3a1b8b338
5 changed files with 27 additions and 15 deletions

View File

@@ -8,4 +8,5 @@ RUN chmod +x /root/start.sh
ENTRYPOINT ["/root/start.sh"]
CMD ["shell"]
#RUN wget ftp://ftp.symantec.com/AVDEFS/symantec_antivirus_corp/static/symcdefs-core15unix.sh && chmod +x symcdefs-core15unix.sh && ./symcdefs-core15unix.sh && rm ./symcdefs-core15unix.sh
RUN service rtvscand start ; sleep 10 ; sav liveupdate -u ; sleep 10 ; while ! (sav info -d | grep -Pq '^\d') ; do sleep 1 ; done ; sav info -d | tee /root/tag ; service rtvscand stop ; sleep 10
ADD config.sh /root/config.sh
RUN chmod +x /root/config.sh ; /root/config.sh