-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM mcr.microsoft.com/dotnet/sdk:9.0 | ||
|
||
RUN wget https://aka.ms/getvsdbgsh && \ | ||
sh getvsdbgsh -v latest -l /vsdbg | ||
|
||
ENV MONO_VERSION 6.12.0.200 | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends gnupg dirmngr ca-certificates \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& export GNUPGHOME="$(mktemp -d)" \ | ||
&& gpg --batch --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \ | ||
&& gpg --batch --export --armor 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF > /etc/apt/trusted.gpg.d/mono.gpg.asc \ | ||
&& gpgconf --kill all \ | ||
&& rm -rf "$GNUPGHOME" \ | ||
&& apt-key list | grep Xamarin \ | ||
&& apt-get purge -y --auto-remove gnupg dirmngr | ||
|
||
RUN echo "deb https://download.mono-project.com/repo/debian stable-buster/snapshots/$MONO_VERSION main" > /etc/apt/sources.list.d/mono-official-stable.list \ | ||
&& apt-get update \ | ||
&& apt-get install -y mono-runtime \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters