Dockerfile 872 B

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