Skip to content

Commit 58b9a51

Browse files
committed
fix(mono): revert to previous key download
1 parent e826cb4 commit 58b9a51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mono/latest/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ ARG DEBIAN_FRONTEND=noninteractive
99

1010
# Install required packages and Mono
1111
RUN set -eux; \
12+
apt-get update; \
13+
apt-get install -y --no-install-recommends dirmngr; \
1214
install -d -m 0755 /etc/apt/keyrings; \
13-
wget -qO /etc/apt/keyrings/mono-official-archive-keyring.gpg https://download.mono-project.com/repo/xamarin.gpg; \
15+
gpg --homedir /tmp --no-default-keyring --keyring /etc/apt/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF; \
1416
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; \
1517
apt-get update; \
1618
apt-get install -y mono-complete; \

0 commit comments

Comments
 (0)