Created
December 16, 2019 20:15
-
-
Save jensmeder/d61502c64fbcf3cb4d0a3bf90e7c8487 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
# Install wget | |
RUN apt-get update | |
RUN apt-get install -y wget | |
# Add 32-bit architecture | |
RUN dpkg --add-architecture i386 | |
RUN apt-get update | |
# Install Wine | |
RUN apt-get install -y software-properties-common gnupg2 | |
RUN wget -nc https://dl.winehq.org/wine-builds/winehq.key | |
RUN apt-key add winehq.key | |
RUN apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' | |
RUN apt-get install -y --install-recommends winehq-stable winbind | |
ENV WINEDEBUG=fixme-all | |
# Setup a Wine prefix | |
ENV WINEPREFIX=/root/.demo | |
ENV WINEARCH=win64 | |
RUN winecfg | |
# Install Mono | |
RUN wget -P /mono http://dl.winehq.org/wine/wine-mono/4.9.4/wine-mono-4.9.4.msi | |
RUN wineboot -u && msiexec /i /mono/wine-mono-4.9.4.msi | |
RUN rm -rf /mono/wine-mono-4.9.4.msi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment