Skip to content

Commit

Permalink
Add FAudio dependency for Wine 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik committed May 20, 2020
1 parent 9bf0fb0 commit fa4db24
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 && \
Expand Down

0 comments on commit fa4db24

Please sign in to comment.