tests/tools/Docker/python2.7-wxpython/Dockerfile
author Edouard Tisserant
Fri, 10 Jan 2020 13:15:07 +0100
branchsvghmi
changeset 2822 9101a72a1da0
parent 2549 8f8735f558c7
permissions -rw-r--r--
SVGHMI: added a watchdog. To ensure that the whole chain is checked, watchdog use a periodic echo of a hearteat variable. JS client code systematically register /HEARTBEAT at 1s update freq, and reacts on updates of /HEARTBEAT by systematically incrementing it. C code catch /HEARTBEAT update and feeds python-implemented watchdog. For now, watchdog does nothing when tiggered
#
# Dockerfile for wxPython3.0 running on python2.7
#

FROM python:2.7-stretch

RUN set -xe \
    && apt-get update \
    && apt-get install -y --no-install-recommends python-wxgtk3.0 python-matplotlib \
    && apt-get install -y --no-install-recommends python-xvfbwrapper xvfb \
    && apt-get clean