Debian Codegraph @

kokoro/linux/dockerfile/test/csharp/Dockerfile

raw
1 FROM debian:buster
2
3 # Install dependencies. We start with the basic ones require to build protoc
4 # and the C++ build
5 RUN 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 # Update ca-certificates to fix known buster + .NET 5 issue
26 # https://github.com/NuGet/Announcements/issues/49
27 RUN apt-get update && apt-get install -y ca-certificates && apt-get clean
28
29 # dotnet SDK prerequisites
30 RUN apt-get update && apt-get install -y libunwind8 libicu63 && apt-get clean
31
32 # Install dotnet SDK via install script
33 RUN wget -q https://dot.net/v1/dotnet-install.sh && \
34 chmod u+x dotnet-install.sh && \
35 ./dotnet-install.sh --version 3.1.415 && \
36 ./dotnet-install.sh --version 6.0.100 && \
37 ln -s /root/.dotnet/dotnet /usr/local/bin
38
39 RUN wget -q www.nuget.org/NuGet.exe -O /usr/local/bin/nuget.exe
40
41 ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE true