forked from suchja/wix-toolset
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
27 lines (22 loc) · 794 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM suchja/wine:latest
MAINTAINER Jonata Weber <[email protected]>
# get at least error information from wine
ENV WINEDEBUG -all,err+all
# unfortunately we later need to wait on wineserver. Thus a small script for waiting is supplied.
USER root
COPY waitonprocess.sh /scripts/
RUN chmod +x /scripts/waitonprocess.sh
# Install .NET Framework 4.0
USER xclient
RUN wine wineboot --init \
&& /scripts/waitonprocess.sh wineserver \
&& winetricks --unattended dotnet40 dotnet_verifier \
&& /scripts/waitonprocess.sh wineserver
# Install Inno Setup binaries
RUN mkdir /home/xclient/inno \
&& cd /home/xclient/inno \
&& curl -SL "http://www.jrsoftware.org/download.php/is.exe" -o is.exe \
&& wine is.exe /SILENT; exit 0
USER root
COPY iscc.sh /scripts/
RUN chmod +x /scripts/iscc.sh