--- a +++ b/codesys-ide/Dockerfile @@ -0,0 +1,28 @@ +FROM debian:stretch + +RUN dpkg --add-architecture i386 +RUN apt-get update && apt-get install -y wine32-development wine64-development wget subversion +RUN apt-get install -y winbind python-requests + +RUN useradd -ms /bin/bash wineuser + +# Configure locales +RUN apt-get install -y locales +RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ + locale-gen +ENV LANG en_US.UTF-8 +ENV LANGUAGE en_US:en +ENV LC_ALL en_US.UTF-8 + +# Add XVFB +RUN apt-get install -y xvfb xdotool jwm procps + +# Get c4l install script and start installation +USER wineuser +WORKDIR "/home/wineuser" +RUN wget -c "https://forge.codesys.com/svn/tol,codesys-4-linux,code/trunk/c4l/install.sh"; \ + chmod 755 install.sh; \ + ./install.sh --xvfb + + +ENV WINEPREFIX=/home/wineuser/.wine.cds