anchor.diff:          screen \
           dc \
           time \
  +        software-properties-common \
       && apt-get clean; \
       rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
  +
  +# Install the CI version of gcc and g++
  +RUN add-apt-repository ppa:ubuntu-toolchain-r/test \
  +    && apt-get update \
  +    && apt-get install -y gcc-9 g++-9 \
  +    && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 \
  +    && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 90
   
   # RISC-V device toolchain
   COPY util/get-toolchain.py /tmp/get-toolchain.py
  
positive.code: ARG RUST_VERSION=1.60.0
  # This should match the version in bazelish.sh.
  ARG BAZELISK_VERSION=v1.11.0
  
  # Main container image.
  FROM ubuntu:18.04 AS opentitan
  
negative.code: ARG RISCV_TOOLCHAIN_TAR_VERSION
  ARG RUST_VERSION
  ARG BAZELISK_VERSION
  ARG GCC_VERSION
  
  LABEL version="1.0"
  LABEL description="OpenTitan development container."
  