File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 1616
1717# MAINTAINER Jan Friedrich
1818
19- FROM mono:latest
19+ FROM ubuntu:20.04
20+ ENV DEBIAN_FRONTEND=noninteractive \
21+ TZ=Etc/UTC
22+
23+ # Install Mono SDK (compiler, msbuild, runtime, etc.)
24+ RUN apt-get update && \
25+ apt-get install -y gnupg ca-certificates && \
26+ apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \
27+ echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | tee /etc/apt/sources.list.d/mono-official-stable.list && \
28+ apt-get update && \
29+ apt-get install -y mono-complete && \
30+ rm -rf /var/lib/apt/lists/*
31+
32+ # Check Mono version
33+ RUN mono --version
2034
2135RUN apt-get update \
2236 && apt-get upgrade -y \
You can’t perform that action at this time.
0 commit comments