Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
wine install #4
Browse files Browse the repository at this point in the history
  • Loading branch information
wanjohiryan committed Nov 16, 2022
1 parent 8e43826 commit e29c8ac
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions gamevm/john-wick-hex/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@ RUN apt update \
&& apt-get autoremove

#
# Install wine
# Install wine (source: https://computingforgeeks.com/how-to-install-wine-on-debian/ )
ARG WINE_BRANCH="stable"
RUN dpkg --add-architecture i386 \
&& mkdir -pm755 /etc/apt/keyrings \
&& wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key \
&& wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources \
&& apt update \
&& apt -y install gnupg2 software-properties-common \
&& wget -nc https://dl.winehq.org/wine-builds/winehq.key \
&& apt-key add winehq.key \
&& apt-add-repository https://dl.winehq.org/wine-builds/debian/ \
&& apt update \
&& wget -O- -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/Release.key | sudo apt-key add - \
&& echo "deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10 ./" | sudo tee /etc/apt/sources.list.d/wine-obs.list \
&& DEBIAN_FRONTEND="noninteractive" apt-get install -y --install-recommends winehq-${WINE_BRANCH}

#
Expand Down

0 comments on commit e29c8ac

Please sign in to comment.