Skip to content

Commit 704b073

Browse files
committed
fix (mono): repo gpg fix for trixie
1 parent a9ab170 commit 704b073

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

mono/latest/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@ ENV DEBIAN_FRONTEND="noninteractive"
99

1010
# Install required packages and Mono
1111
RUN set -eux; \
12-
apt-get update; \
13-
apt-get install -o APT::Keep-Downloaded-Packages="false" -y --no-install-recommends \
14-
dirmngr; \
15-
\
1612
install -d -m 0755 /etc/apt/keyrings; \
17-
gpg --homedir /tmp --no-default-keyring --keyring /etc/apt/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF; \
13+
wget -qO- "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" | gpg --dearmor -o /etc/apt/keyrings/mono-official-archive-keyring.gpg; \
1814
printf 'Types: deb\nURIs: https://download.mono-project.com/repo/debian\nSuites: stable-buster\nComponents: main\nSigned-By: /etc/apt/keyrings/mono-official-archive-keyring.gpg\n' | tee /etc/apt/sources.list.d/mono-official-stable.sources >/dev/null; \
1915
apt-get update; \
2016
apt-get install -o APT::Keep-Downloaded-Packages="false" -y \

0 commit comments

Comments
 (0)