1FROM debian:stretch
2
3# Install dependencies.  We start with the basic ones require to build protoc
4# and the C++ build
5RUN apt-get update && apt-get install -y \
6  autoconf \
7  autotools-dev \
8  build-essential \
9  bzip2 \
10  ccache \
11  curl \
12  gcc \
13  git \
14  libc6 \
15  libc6-dbg \
16  libc6-dev \
17  libgtest-dev \
18  libtool \
19  make \
20  parallel \
21  time \
22  wget \
23  && apt-get clean
24
25# dotnet SDK prerequisites
26RUN apt-get update && apt-get install -y libunwind8 libicu57 && apt-get clean
27
28# Install dotnet SDK via install script
29RUN wget -q https://dot.net/v1/dotnet-install.sh && \
30    chmod u+x dotnet-install.sh && \
31    ./dotnet-install.sh --version 2.1.504 && \
32    ln -s /root/.dotnet/dotnet /usr/local/bin
33
34RUN wget -q www.nuget.org/NuGet.exe -O /usr/local/bin/nuget.exe
35
36ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE true
37