-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
27 lines (21 loc) · 1.05 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
FROM registry.fedoraproject.org/fedora-minimal:32
RUN microdnf install -y \
mingw32-gcc mingw64-gcc mingw32-gcc-c++ mingw64-gcc-c++ \
mingw32-winpthreads-static mingw64-winpthreads-static \
mono-core cabextract tar wine.i686 unzip make curl vim-enhanced \
genisoimage patch git svn file rpm-build createrepo
# FIXME
# dotnet unattended installation doesn't work on the latest wine
RUN microdnf install dnf libxcrypt-compat.i686
RUN rpm -e --nodeps alternatives setup
RUN dnf downgrade --releasever=28 -y wine.i686
RUN curl -s -LJ https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks > /usr/local/bin/winetricks && chmod +x /usr/local/bin/winetricks
ENV WINEDEBUG=-all WINEARCH=win32 WINEPREFIX=/opt/wine
RUN winetricks --unattended --verbose dotnet40
RUN curl -s -LJ --remote-name-all -C - \
https://github.com/wixtoolset/wix3/releases/download/wix3111rtm/wix311-binaries.zip
# Extract wix binaries into the /opt directory
RUN unzip -d /opt/wix/ wix311-binaries.zip
RUN dnf install -y rpmdevtools
WORKDIR /build
COPY * ./