Skip to content

Commit e93562a

Browse files
committed
Upgrade WINE versions to 7.0.
Updates from WINE 3.0 to 7.0 on `*-pc-windows-gnu` images using binary releases provide by WINE HQ. Closes #390.
1 parent 5f4770f commit e93562a

File tree

4 files changed

+36
-10
lines changed

4 files changed

+36
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
55

66
## [Unreleased]
77

8+
- #377 - update WINE versions to 7.0.
89
- #734 - patch `arm-unknown-linux-gnueabihf` to build for ARMv6, and add architecture for crosstool-ng-based images.
910
- #730 - make FreeBSD builds more resilient.
1011
- #727 - add `PKG_CONFIG_PATH` to all `*-linux-gnu` images.

docker/Dockerfile.i686-pc-windows-gnu

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ COPY xargo.sh /
1111
RUN /xargo.sh
1212

1313
RUN dpkg --add-architecture i386 && apt-get update && \
14-
apt-get install --assume-yes --no-install-recommends \
15-
wine-stable \
16-
wine64 \
17-
wine32 \
18-
libz-mingw-w64-dev
14+
apt-get install --assume-yes --no-install-recommends libz-mingw-w64-dev
15+
16+
COPY wine.sh /
17+
RUN /wine.sh
1918

2019
# Build mingw tools using dwarf exceptions
2120
COPY mingw.sh /

docker/Dockerfile.x86_64-pc-windows-gnu

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ COPY xargo.sh /
1111
RUN /xargo.sh
1212

1313
RUN dpkg --add-architecture i386 && apt-get update && \
14-
apt-get install --assume-yes --no-install-recommends \
15-
wine-stable \
16-
wine64 \
17-
wine32 \
18-
libz-mingw-w64-dev
14+
apt-get install --assume-yes --no-install-recommends libz-mingw-w64-dev
15+
16+
COPY wine.sh /
17+
RUN /wine.sh
1918

2019
RUN apt-get update && apt-get install --assume-yes --no-install-recommends g++-mingw-w64-x86-64
2120

docker/wine.sh

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/bash
2+
3+
set -x
4+
set -euo pipefail
5+
6+
# shellcheck disable=SC1091
7+
. lib.sh
8+
9+
main() {
10+
install_packages wget
11+
12+
dpkg --add-architecture i386
13+
14+
# add repository for latest wine version and install from source
15+
# hardcode version, since we might want to avoid a version later.
16+
wget -nc https://dl.winehq.org/wine-builds/winehq.key
17+
mv winehq.key /usr/share/keyrings/winehq-archive.key
18+
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/winehq-bionic.sources
19+
mv winehq-bionic.sources /etc/apt/sources.list.d/
20+
apt-get update
21+
apt install --no-install-recommends --assume-yes \
22+
"winehq-stable=7.0.0.0~bionic-1"
23+
24+
purge_packages
25+
}
26+
27+
main "${@}"

0 commit comments

Comments
 (0)