[18db23]: / codesys-ide / Dockerfile  Maximize  Restore  History

Download this file

25 lines (18 with data), 620 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM debian:stretch
RUN dpkg --add-architecture i386
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
# 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
# Install CODESYS
USER wineuser
WORKDIR "/home/wineuser"
ADD install.sh /home/wineuser/
RUN ./install.sh --xvfb
ENV WINEPREFIX=/home/wineuser/.wine.cds