anchor.diff: -FROM quay.io/wikipedialibrary/debian:buster-slim as twlight_base
  +FROM quay.io/wikipedialibrary/python:3.7-slim-buster as twlight_base
   # Base dependencies.
  -RUN apt update; \
  -    apt install -y \
  -    libjpeg62-turbo \
  -    libxslt1-dev \
  -    libmariadb-dev \
  -    python3 \
  -    python3-pip ; \
  +RUN apt update ; \
  +    apt install -y --no-install-recommends \
  +    libmariadbclient-dev ; \
  +    ln -s /usr/bin/mariadb_config /usr/bin/mysql_config ; \
  +    rm -rf /var/lib/apt/lists/*; \
       pip3 install virtualenv
   
   FROM twlight_base as twlight_build
  
positive.code: # CSS Janus is the thing actually used to generate the rtl css.
  # Pandoc is used for rendering wikicode resource descriptions
  # into html for display. We do need this on the live image.
  RUN apt install -y \
      bash \
      gettext \
      git \
  
negative.code: FROM twlight_base
  COPY --from=twlight_build /venv /venv
  COPY --from=quay.io/wikipedialibrary/debian_perl:latest /opt/perl /opt/perl
  ENV PATH="/opt/perl/bin:${PATH}" TWLIGHT_HOME=/app PYTHONUNBUFFERED=1 PYTHONPATH="/app:/venv"
  
  # Runtime dependencies.
  # Refactoring shell code could remove bash dependency
  