-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
30 lines (22 loc) · 1.11 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
FROM ubuntu:bionic
MAINTAINER Laurent Rineau <[email protected]>
RUN dpkg --add-architecture i386
RUN apt-get update -y && apt-get install -y wget gnupg2 software-properties-common cmake
#RUN wget -O- https://dl.winehq.org/wine-builds/Release.key | apt-key add -
#RUN wget -O- https://dl.winehq.org/wine-builds/winehq.key | apt-key add -
#RUN apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'
#RUN apt-get update -y
RUN apt-get install -y wine-stable winetricks xvfb
RUN apt-get purge -y software-properties-common
RUN apt-get autoclean -y
RUN apt-get update && apt-get install -y winbind nsis && apt-get clean -y
# ENV NSIS_URL http://prdownloads.sourceforge.net/nsis/nsis-2.46-setup.exe?download
# RUN wget -q -O nsis.exe $NSIS_URL && rm -rf /tmp/.wine-* && xvfb-run -a wine nsis.exe && rm -rf /tmp/.wine-*
# Install Locate and inetc plugin
ADD Locate.dll /usr/share/nsis/Plugins/
ADD Locate.nsh /usr/share/nsis/Include/
ADD inetc.dll /usr/share/nsis/Plugins/
ADD ZipDLL.dll /usr/share/nsis/Plugins/
VOLUME ["/mnt/cgal_sources", "/mnt/cgal_release"]
COPY ./docker_entrypoint.sh /
CMD ["/docker_entrypoint.sh"]