1
0

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
This commit is contained in:
SomberNight
2024-04-19 14:49:25 +00:00
parent a4cb69d1b5
commit 20d7543b53

View File

@@ -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} \