tests/tools/Docker/python2.7-wxpython/Dockerfile
author Edouard Tisserant
Wed, 18 Dec 2019 13:31:22 +0100
branchsvghmi
changeset 2821 d92d201d22e1
parent 2549 8f8735f558c7
permissions -rw-r--r--
Add --on-plc-start --on-plc-stop and --status-change to runtime command line, calling given command respectively on start stop or any event. Command line string is python formated (to eventually include status with {}) before being split (supports quoted strings) and passed to Popen for non-blocking execution.
#
# 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