Skip to content

Commit

Permalink
fix: Lock wine version to v6 in docker image (#6816)
Browse files Browse the repository at this point in the history
Fixes #6780
  • Loading branch information
mmaietta committed Apr 24, 2022
1 parent 1a73860 commit 8f57a90
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker/wine/Dockerfile
Expand Up @@ -5,7 +5,13 @@ RUN dpkg --add-architecture i386 && \
curl -Lo /usr/share/keyrings/winehq.asc https://dl.winehq.org/wine-builds/winehq.key && \
echo 'deb [signed-by=/usr/share/keyrings/winehq.asc] https://dl.winehq.org/wine-builds/ubuntu/ focal main' > /etc/apt/sources.list.d/winehq.list && \
apt-get update && \
apt-get install -y --no-install-recommends winehq-stable && \
apt-get install -y --no-install-recommends \
# We can't install `winehq-stable`, we must manually lock each dependency to v6 (ref: https://github.com/electron-userland/electron-builder/issues/6780),
winehq-stable=6.0.4~focal-1 \
wine-stable=6.0.4~focal-1 \
wine-stable-i386=6.0.4~focal-1 \
wine-stable-amd64=6.0.4~focal-1 \
&& \
# clean
apt-get clean && rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 8f57a90

Please sign in to comment.