From e29c8acdb8df86952849ec06e453d4161aba660e Mon Sep 17 00:00:00 2001 From: Wanjohi Date: Wed, 16 Nov 2022 23:26:22 +0000 Subject: [PATCH] wine install #4 --- gamevm/john-wick-hex/Dockerfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gamevm/john-wick-hex/Dockerfile b/gamevm/john-wick-hex/Dockerfile index fd79a813..02dfec47 100644 --- a/gamevm/john-wick-hex/Dockerfile +++ b/gamevm/john-wick-hex/Dockerfile @@ -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} #