'Change POU Type To' becomes 'Duplicate as...', avoiding side effects of type change when POU is already instanciated. Also remove leftover returType tag in ex-function POUs, triggering exceptions at build time.
#
# 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