• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#================
2# C# dependencies
3
4# Update to a newer version of mono
5RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
6RUN echo "deb http://download.mono-project.com/repo/debian jessie main" | tee /etc/apt/sources.list.d/mono-official.list
7RUN echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list
8RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list
9
10# Install dependencies
11RUN apt-get update && apt-get -y dist-upgrade && apt-get install -y ${'\\'}
12    mono-devel ${'\\'}
13    ca-certificates-mono ${'\\'}
14    nuget ${'\\'}
15    && apt-get clean
16
17RUN nuget update -self
18