Diff of /codesys-ide/Dockerfile [1120ce] .. [99cd15]  Maximize  Restore

Switch to unified view

a/codesys-ide/Dockerfile b/codesys-ide/Dockerfile
1
#
1
#
2
# Stage 1:
2
# Stage 1:
3
# Install CODESYS in debian stretch with wine-development version
3
# Install CODESYS in debian stretch with wine-development version
4
#
4
#
5
FROM debian:stretch
5
FROM debian:buster
6
6
7
RUN dpkg --add-architecture i386
7
RUN dpkg --add-architecture i386
8
RUN apt-get update && \
8
RUN apt-get update && \
9
    apt-get install -y wine32-development wine64-development wget subversion winbind python-requests cabextract msitools xvfb xdotool jwm procps
9
    apt-get install -y wine32-development wine64-development wget subversion winbind python-requests cabextract msitools xvfb xdotool jwm procps
10
10
...
...
20
20
21
# Install CODESYS
21
# Install CODESYS
22
USER wineuser
22
USER wineuser
23
WORKDIR "/home/wineuser"
23
WORKDIR "/home/wineuser"
24
ADD install2.sh /home/wineuser/
24
ADD install2.sh /home/wineuser/
25
RUN ./install2.sh; test -f /home/wineuser/.wine.cds/drive_c/CODESYS/CODESYS/Common/CODESYS.exe
25
RUN ./install2.sh --silent; \
26
    test -f /home/wineuser/.wine.cds/drive_c/CODESYS/CODESYS/Common/CODESYS.exe
26
27
27
ADD codesys /usr/local/bin/codesys
28
ADD codesys /usr/local/bin/codesys
28
ADD scripts /usr/local/share/codesys
29
ADD scripts /usr/local/share/codesys
29
30
30
USER wineuser
31
USER wineuser
31
32
32
#RUN codesys install https://forge.codesys.com/svn/prj,cfunit,code/tags/v1.0.0.0/CfUnit.package
33
# basic test of the image
33
ADD SimpleCfUnitExample.project /
34
RUN codesys test
34
RUN ls -1 /usr/bin/wine*-development
35
RUN codesys save-projectarchive
36
35
37
CMD [ "echo" ]
36
CMD [ "echo" ]