forked from jonataa/innosetup-docker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
28 lines (23 loc) · 837 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
28
FROM suchja/wine:latest
MAINTAINER Jonata Weber <jonataa@gmail.com>
# 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
# Dismiss .net, we only need innosetup
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