diff --git a/Dockerfile b/Dockerfile index 636c3f0..427e26f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:18.04 # Set environment variables -ENV CONTAINER_VERSION=0.5 \ +ENV CONTAINER_VERSION=0.6 \ ELDEWRITO_VERSION=0.6.1 \ MTNDEW_CHECKSUM=496b9296239539c747347805e15d2540 \ DISPLAY=:1 \ @@ -15,14 +15,25 @@ ENV CONTAINER_VERSION=0.5 \ RUN apt-get update && \ apt-get install -y wget software-properties-common apt-transport-https cabextract -# Install Wine stable +# Install Wine key and repository RUN dpkg --add-architecture i386 && \ wget -nc https://dl.winehq.org/wine-builds/winehq.key && \ apt-key add winehq.key && \ rm winehq.key && \ apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' && \ - apt-get update && \ - apt-get install -y winehq-stable + apt-get update + +# Install FAudio because it's missing in Ubuntu 18.04 (https://forum.winehq.org/viewtopic.php?f=8&t=32192) +RUN wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/amd64/libfaudio0_19.07-0~bionic_amd64.deb && \ + wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/i386/libfaudio0_19.07-0~bionic_i386.deb && \ + apt-get install -y libsdl2-2.0-0 libsdl2-2.0-0:i386 && \ + dpkg -i libfaudio0_19.07-0~bionic_amd64.deb && \ + dpkg -i libfaudio0_19.07-0~bionic_i386.deb && \ + rm libfaudio0_19.07-0~bionic_amd64.deb && \ + rm libfaudio0_19.07-0~bionic_i386.deb + +# Install Wine stable +RUN apt-get install -y --install-recommends winehq-stable # Download winetricks from source RUN wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && \