-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
45 lines (45 loc) · 1.77 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
FROM i386/debian:stretch-backports
# we need wget, bzip2, wine from winehq,
# xvfb to fake X11 for winetricks during installation,
# and winbind because wine complains about missing
RUN apt-get update && \
apt-get -y install wget gnupg && \
echo "deb http://dl.winehq.org/wine-builds/debian/ stretch main" >> \
/etc/apt/sources.list.d/winehq.list && \
wget http://dl.winehq.org/wine-builds/Release.key -qO- | apt-key add - && \
apt-get update && \
apt-get -y --install-recommends install \
bzip2 \
winehq-stable=3.0* \
winbind \
xvfb \
cabextract \
&& \
apt-get -y clean && \
rm -rf \
/var/lib/apt/lists/* \
/usr/share/doc \
/usr/share/doc-base \
/usr/share/man \
/usr/share/locale \
/usr/share/zoneinfo \
&& \
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \
-O /usr/local/bin/winetricks && chmod +x /usr/local/bin/winetricks
ENV WINEARCH win32
WORKDIR /root/
ADD waitonprocess.sh /root/waitonprocess.sh
RUN chmod +x waitonprocess.sh
# wineserver needs to shut down properly!!!
ENV WINEDEBUG -all,err+all
RUN winetricks -q win7 && ./waitonprocess.sh wineserver
RUN xvfb-run winetricks -q vcrun2008 dotnet452 && ./waitonprocess.sh wineserver
# download ProteoWizard and extract it to C:\pwiz
# https://teamcity.labkey.org/repository/download/bt36/538732:id/pwiz-bin-windows-x86-vc120-release-3_0_11748.tar.bz2
RUN mkdir /root/.wine/drive_c/pwiz && \
wget https://teamcity.labkey.org/repository/download/bt36/538732:id/pwiz-bin-windows-x86-vc120-release-3_0_11748.tar.bz2?guest=1 -qO- | \
tar --directory=/root/.wine/drive_c/pwiz -xj
# put C:\pwiz on the Windows search path
ENV WINEPATH "C:\pwiz"
ENV DISPLAY :0
CMD ["wine", "MSConvertGUI" ]