a/codesys-ide/Dockerfile | b/codesys-ide/Dockerfile | ||
---|---|---|---|
1 | FROM debian:stretch |
1 | FROM debian:stretch |
2 | 2 | ||
3 | RUN dpkg --add-architecture i386 |
3 | RUN dpkg --add-architecture i386 |
4 | RUN apt-get update && apt-get install -y wine32-development wine64-development wget subversion |
4 | RUN apt-get update && \ |
5 | RUN apt-get install -y winbind python-requests |
5 | apt-get install -y wine32-development wine64-development wget subversion winbind python-requests cabextract xvfb xdotool jwm procps |
6 | 6 | ||
7 | RUN useradd -ms /bin/bash wineuser |
7 | RUN useradd -ms /bin/bash wineuser |
8 | 8 | ||
9 | # Configure locales |
9 | # Configure locales |
10 | RUN apt-get install -y locales |
10 | RUN apt-get install -y locales |
... |
... |
||
12 | locale-gen |
12 | locale-gen |
13 | ENV LANG en_US.UTF-8 |
13 | ENV LANG en_US.UTF-8 |
14 | ENV LANGUAGE en_US:en |
14 | ENV LANGUAGE en_US:en |
15 | ENV LC_ALL en_US.UTF-8 |
15 | ENV LC_ALL en_US.UTF-8 |
16 | 16 | ||
17 | # Add XVFB |
17 | # Install CODESYS |
18 | RUN apt-get install -y xvfb xdotool jwm procps |
18 | USER wineuser |
19 | 19 | WORKDIR "/home/wineuser" |
|
20 | # Get c4l install script and start installation |
20 | ADD install.sh /home/wineuser/ |
21 | USER wineuser |
21 | RUN ./install.sh --xvfb |
22 | WORKDIR "/home/wineuser" |
||
23 | RUN wget -c "https://forge.codesys.com/svn/tol,codesys-4-linux,code/trunk/c4l/install.sh"; \ |
||
24 | chmod 755 install.sh; \ |
||
25 | ./install.sh --xvfb |
||
26 | 22 | ||
27 | |||
28 | ENV WINEPREFIX=/home/wineuser/.wine.cds |
23 | ENV WINEPREFIX=/home/wineuser/.wine.cds |
29 | 24 |