--- a/codesys-ide/Dockerfile +++ b/codesys-ide/Dockerfile @@ -1,8 +1,8 @@ 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 apt-get update && \ + apt-get install -y wine32-development wine64-development wget subversion winbind python-requests cabextract xvfb xdotool jwm procps RUN useradd -ms /bin/bash wineuser @@ -14,15 +14,11 @@ 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 +# Install CODESYS 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 - +ADD install.sh /home/wineuser/ +RUN ./install.sh --xvfb ENV WINEPREFIX=/home/wineuser/.wine.cds +