You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#================
|
|
|
|
# C# dependencies
|
|
|
|
|
|
|
|
# Update to a newer version of mono
|
|
|
|
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
|
|
|
|
RUN echo "deb http://download.mono-project.com/repo/debian jessie main" | tee /etc/apt/sources.list.d/mono-official.list
|
|
|
|
RUN echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list
|
|
|
|
RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list
|
|
|
|
|
|
|
|
# Install dependencies
|
|
|
|
RUN apt-get update && apt-get -y dist-upgrade && apt-get install -y ${'\\'}
|
|
|
|
mono-devel ${'\\'}
|
|
|
|
ca-certificates-mono ${'\\'}
|
|
|
|
nuget ${'\\'}
|
|
|
|
&& apt-get clean
|
|
|
|
|
|
|
|
RUN nuget update -self
|
|
|
|
|
|
|
|
#=================
|
|
|
|
# Use cmake 3.6 from jessie-backports
|
|
|
|
# needed to build grpc_csharp_ext with cmake
|
|
|
|
|
|
|
|
RUN echo "deb http://ftp.debian.org/debian jessie-backports main" | tee /etc/apt/sources.list.d/jessie-backports.list
|
|
|
|
RUN apt-get update && apt-get install -t jessie-backports -y cmake && apt-get clean
|