Windows Python with Wine on Linux, but now in Docker
0
Here is a recipe for trouble: because I have some hardware that can only talk to Windows Python I used Wine to run the Windows Python in Linux (Ubuntu). That worked. Now I wanted to make this solution a bit more portable and do the same thing inside a Docker container. Here is the minimal example dockerfile: FROM ubuntu:18.04 #install wine RUN apt-get update RUN dpkg --add-architecture i386 RUN apt-get install -y software-properties-common wget unzip RUN wget -nc https://dl.winehq.org/wine-builds/winehq.key && apt-key add winehq.key && apt update RUN apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' RUN apt-get update RUN apt-get install -y --install-recommends winehq-stable RUN wine wineboot --init #now get python RUN wget https://www.pyt