diff --git a/docker/Emulator_x86 b/docker/Emulator_x86 index a524fd3..a30f489 100644 --- a/docker/Emulator_x86 +++ b/docker/Emulator_x86 @@ -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