anchor.diff:          libxml2-dev \
           libxslt1-dev \
           libz-dev \
  -        python-dev \
  -        python-pip \
  +        python3-dev \
  +        python3-pip \
           python-setuptools \
           texlive-latex-recommended \
           texlive-fonts-recommended \
  
positive.code: FROM debian:jessie
  MAINTAINER qqbuby <qqbuby@gmail.com>
  
  ENV RTD_REPO_DIR=/var/readthedocs \
      RTD_COMMIT=ec23bc9c9d0eef0821a165d11a3ce75f1f39d59c
  
  RUN apt-get update && apt-get install -y --no-install-recommends \
          build-essential \
  
negative.code:     && rm -rf /tmp/readthedocs.org-${RTD_COMMIT}*
  
  WORKDIR ${RTD_REPO_DIR}
  RUN pip3 install -r requirements.txt \
      && rm -rf ~/.cache /tmp/pip_build_root \
      && python3 ./manage.py migrate \
      && python3 -c "import os;import sys;os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'readthedocs.settings.dev');sys.path.append(os.getcwd());from django.contrib.auth.models import User;admin = User.objects.create_user('admin','','admin');admin.is_superuser=True;admin.is_staff=True;admin.save();test = User.objects.create_user('test','','test');test.is_staff=True;test.save();" \
      && python3 ./manage.py collectstatic --noinput
  
  EXPOSE 8000
  
  CMD ["python3", "./manage.py", "runserver", "0.0.0.0:8000"]
  