tests/tools/Docker/python2.7-wxpython/Dockerfile
author Edouard Tisserant
Tue, 25 May 2021 15:05:38 +0200
branchsvghmi
changeset 3248 ea93c14342d1
parent 2549 8f8735f558c7
permissions -rw-r--r--
Runtime: Fix exception "Worker is disabled" when connecting while PLC runtime is starting.

Pyro/wamp/UI delegate jobs to Worker, causing race condition if worker isn't already started.
Added a function to ensure that Worker is already created when pyro or UI starts
#
# 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