anchor.diff:          automake \
           cmake \
           gettext \
  -        python && \
  -    rm -rf /var/lib/apt/lists/*
  +        python
   
  -RUN apt-get update && \
  -    apt-get install -y gpg wget apt-transport-https dirmngr && \
  +# Install dotnet 2.2 SDK.
  +RUN apt-get install -y gpg wget apt-transport-https dirmngr && \
       wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --no-tty --dearmor > microsoft.asc.gpg && \
       mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/ && \
       wget -q https://packages.microsoft.com/config/debian/9/prod.list && \
  
positive.code:         dotnet-sdk-2.2 && \
      rm -rf /var/lib/apt/lists/*
  
  WORKDIR /src
  RUN git clone https://github.com/mono/mono -b 2019-02
  
  WORKDIR /src/mono
  RUN ./autogen.sh --disable-boehm --enable-llvm=yes && \
      make -j8 && \
      make install
  
  RUN apt-get update && \
      apt-get install -y llvm-3.8 && \
      rm -rf /var/lib/apt/lists/*
  
  ENV PATH="/src/mono/llvm/usr/bin:${PATH}"
  RUN mono --aot=llvm /usr/local/lib/mono/4.5/mscorlib.dll
  RUN for i in /usr/local/lib/mono/gac/*/*/*.dll; do mono --aot=llvm $i; done
  
  ENV MONOCMD='mono --llvm'
  
  WORKDIR /src
  RUN git clone https://github.com/brianrob/tests
  
  WORKDIR /src/tests/managed/aspnet_start/src
  RUN make mono
  ENV ASPNETCORE_URLS http://+:8080
  
  ENTRYPOINT ["./run_mono.sh"]
  
negative.code: FROM debian:stretch-20181226
  
  # Install tools and dependencies.
  RUN apt-get update && \
      apt-get install -y \
          apt-transport-https \
          dirmngr \
          gnupg \
          ca-certificates \
          make \
          git \
          gcc \
  