Browse Source

win build: remove deprecated apt-key for winehq key

```
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
```

from 5b40744831
master
SomberNight 2 years ago
parent
commit
20d7543b53
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 8
      contrib/build-wine/Dockerfile

8
contrib/build-wine/Dockerfile

@ -38,15 +38,11 @@ RUN dpkg --add-architecture i386 && \
RUN DEBIAN_CODENAME=$(lsb_release --codename --short) && \
WINEVERSION="9.0.0.0~${DEBIAN_CODENAME}-1" && \
wget -nc https://dl.winehq.org/wine-builds/Release.key && \
echo "c51bcb8cc4a12abfbd7c7660eaf90f49674d15e222c262f27e6c96429111b822 Release.key" | sha256sum -c - && \
apt-key add Release.key && \
rm Release.key && \
wget -nc https://dl.winehq.org/wine-builds/winehq.key && \
echo "78b185fabdb323971d13bd329fefc8038e08559aa51c4996de18db0639a51df6 winehq.key" | sha256sum -c - && \
apt-key add winehq.key && \
cat winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq.gpg && \
echo deb [signed-by=/etc/apt/keyrings/winehq.gpg] https://dl.winehq.org/wine-builds/debian/ ${DEBIAN_CODENAME} main >> /etc/apt/sources.list.d/winehq.list && \
rm winehq.key && \
apt-add-repository https://dl.winehq.org/wine-builds/debian/ && \
apt-get update -q && \
apt-get install -qy --allow-downgrades \
wine-stable-amd64:amd64=${WINEVERSION} \

Loading…
Cancel
Save