anchor.diff:                                                   subversion \
                                                    valgrind \
                                                    vim \
  + && apt-get -qqy clean \
  + && rm -rf /var/lib/apt/lists
  +
  +RUN wget -qO- https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - \
  + && echo "deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster main" | tee /etc/apt/sources.list.d/adoptopenjdk.list \
  + && apt-get -qqy update \
  + && apt-get -qqy install --no-install-recommends adoptopenjdk-8-hotspot \
    && apt-get -qqy clean \
    && rm -rf /var/lib/apt/lists
   
  
positive.code:                                                  libsnappy1v5 \
                                                   make \
                                                   mypy \
                                                   openjdk-8-jdk \
                                                   perl \
                                                   python3 \
                                                   python3-pip \
  
negative.code: RUN bundle install --gemfile=/tmp/Gemfile
  
  # Note: This "ubertool" container has two JDK versions:
  # - OpenJDK 8 (installed as an AdoptOpenJDK package)
  # - OpenJDK 11 (installed from the base image, and prioritized in the PATH)
  # - The root build.sh script switches between the versions according to
  #   the JAVA environment variable.
  
  # Since we want the JDK8 as a default, we have to re-prepend it to the PATH.
  # The /usr/local/openjdk-8 link is created to be consistent with the
  # openjdk:8 image.
  
  RUN ln -s /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 /usr/local/openjdk-8
  ENV JAVA_HOME /usr/local/openjdk-8
  ENV PATH $JAVA_HOME/bin:$PATH
  
  