|
a/codesys-ide/Dockerfile |
|
b/codesys-ide/Dockerfile |
|
... |
|
... |
| 35 |
ENV WINEPREFIX=/home/wineuser/.wine.cds |
35 |
ENV WINEPREFIX=/home/wineuser/.wine.cds |
| 36 |
|
36 |
|
| 37 |
USER root |
37 |
USER root |
| 38 |
RUN dpkg --add-architecture i386 |
38 |
RUN dpkg --add-architecture i386 |
| 39 |
RUN apt-get update && \ |
39 |
RUN apt-get update && \ |
| 40 |
apt-get install -y wine32-development wine64-development wget subversion winbind python-requests \ |
40 |
apt-get install -y wine32-development wine64-development wget subversion winbind python-requests psmisc \ |
| 41 |
locales xvfb |
41 |
locales xvfb |
| 42 |
|
42 |
|
| 43 |
# Configure locales |
43 |
# Configure locales |
| 44 |
RUN useradd -ms /bin/bash wineuser |
44 |
RUN useradd -ms /bin/bash wineuser |
| 45 |
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ |
45 |
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ |
|
... |
|
... |
| 54 |
RUN chown -R wineuser:users /home/wineuser/.wine.cds |
54 |
RUN chown -R wineuser:users /home/wineuser/.wine.cds |
| 55 |
ADD codesys /usr/local/bin/codesys |
55 |
ADD codesys /usr/local/bin/codesys |
| 56 |
ADD scripts /usr/local/share/codesys |
56 |
ADD scripts /usr/local/share/codesys |
| 57 |
|
57 |
|
| 58 |
USER wineuser |
58 |
USER wineuser |
|
|
59 |
|
|
|
60 |
# test code |
|
|
61 |
#ADD Test.library /tmp/Test.library |
|
|
62 |
#RUN cd /tmp && \ |
|
|
63 |
# codesys compile-library && \ |
|
|
64 |
# ls /tmp && \ |
|
|
65 |
# ls /tmp/Test.compiled-library |
|
|
66 |
|
| 59 |
CMD [ "echo" ] |
67 |
CMD [ "echo" ] |