Fix adb getting into the loop

This commit is contained in:
Serghei Moret
2018-07-09 18:06:58 +02:00
committed by GitHub
parent 416a88143f
commit cf3b1cf683
+1 -1
View File
@@ -151,6 +151,6 @@ COPY supervisord.conf /root/
RUN chmod -R +x /root/src && chmod +x /root/supervisord.conf
HEALTHCHECK --interval=2s --timeout=40s --retries=1 \
CMD adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done'
CMD timeout 40 adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done'
CMD /usr/bin/supervisord --configuration supervisord.conf