a | b/codesys-ide/Dockerfile | ||
---|---|---|---|
1 | FROM debian:stretch |
||
2 | |||
3 | RUN dpkg --add-architecture i386 |
||
4 | RUN apt-get update && apt-get install -y wine32-development wine64-development wget subversion |
||
5 | RUN apt-get install -y winbind python-requests |
||
6 | |||
7 | RUN useradd -ms /bin/bash wineuser |
||
8 | |||
9 | # Configure locales |
||
10 | RUN apt-get install -y locales |
||
11 | RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ |
||
12 | locale-gen |
||
13 | ENV LANG en_US.UTF-8 |
||
14 | ENV LANGUAGE en_US:en |
||
15 | ENV LC_ALL en_US.UTF-8 |
||
16 | |||
17 | # Add XVFB |
||
18 | RUN apt-get install -y xvfb xdotool jwm procps |
||
19 | |||
20 | # Get c4l install script and start installation |
||
21 | USER wineuser |
||
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 | |||
27 | |||
28 | ENV WINEPREFIX=/home/wineuser/.wine.cds |