anchor.diff:      libxml2-dev \
       musl-dev \
       python-dev \
  -    zlib-dev
  -    virtualenv /venv
  -    source /venv/bin/activate
  +    zlib-dev ;\
  +    virtualenv /venv ;\
  +    source /venv/bin/activate ;\
       pip install -r /requirements/wmf.txt
   
   FROM twlight_base
  
positive.code:     libjpeg-turbo \
      libxslt-dev \
      mariadb-dev \
      # Python, duh.
      python py-pip
      pip install virtualenv
  
  FROM twlight_base as twlight_build
  
negative.code: ENV PATH="${PATH}:/opt/pandoc-2.7.1/bin" TWLIGHT_HOME=/app PYTHONUNBUFFERED=1 PYTHONPATH="/app:/usr/lib/python2.7"
  
  # Runtime dependencies.
  # Refactoring shell code could remove bash dependency
  # mariadb-client Not needed by the running app, but by the backup/restore shell scripts.
  # Node stuff for rtl support. This and subsequent node things
  # should all be moved out of the running container
  # since we just use it to generate a css file.
  # 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 apk add --update \
      bash \
      gettext \
      git \
      mariadb-client \
      nodejs \
      npm \
      tar ;\
      npm install cssjanus ;\
      wget https://github.com/jgm/pandoc/releases/download/2.7.1/pandoc-2.7.1-linux.tar.gz -P /tmp ;\
      tar -xf /tmp/pandoc-2.7.1-linux.tar.gz --directory /opt
  
  # Utility scripts that run in the virtual environment.
  