forked from amake/innosetup-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
33 lines (24 loc) · 944 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
29
30
31
32
33
FROM suchja/wine:latest
MAINTAINER Aaron Madlon-Kay <[email protected]>
USER root
RUN apt-get update \
&& apt-get install -y --no-install-recommends xvfb \
&& rm -rf /var/lib/apt/lists/*
# get at least error information from wine
ENV WINEDEBUG -all,err+all
# Run virtual X buffer on this port
ENV DISPLAY :99
COPY opt /opt
RUN chmod +x /opt/bin/*
ENV PATH $PATH:/opt/bin
USER xclient
# Install Inno Setup binaries
RUN curl -SL "http://files.jrsoftware.org/is/5/innosetup-5.5.9-unicode.exe" -o is.exe \
&& wine-x11-run wine is.exe /SP- /VERYSILENT \
&& rm is.exe
# Install unofficial languages
RUN cd "/home/xclient/.wine/drive_c/Program Files/Inno Setup 5/Languages" \
&& curl -L "https://api.github.com/repos/jrsoftware/issrc/tarball/29b1e8e8ebe7cf96ca854a1d6be2ae7af7f8018d" \
| tar xz --strip-components=4 --wildcards "*/Files/Languages/Unofficial/*.isl"
WORKDIR /work
ENTRYPOINT ["wine-x11-run", "iscc"]