anchor.diff:      && echo "SECRET_KEY = '$(head -c 16 /dev/urandom | base64)'" > graphite/local_settings.py \
       && curl -sSL https://github.com/graphite-project/graphite-web/raw/master/webapp/manage.py > manage.py \
       && chmod +x manage.py \
  -    && python manage.py migrate --run-syncdb --noinput \
  +    && ./manage.py migrate --run-syncdb --noinput \
       && apk del build-base \
                  curl \
                  git \
  
positive.code: #
  
  FROM alpine
  MAINTAINER kev <noreply@easypi.pro>
  
  ENV PATH=$PATH:/opt/graphite/bin
  ENV PYTHONPATH=/opt/graphite/lib:/opt/graphite/webapp
  
negative.code:                python \
                 python-dev \
      && curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
      && pip install gunicorn scandir supervisor whisper \
      && pip install carbon --install-option="--install-lib=/opt/graphite/lib" \
      && pip install graphite-web --install-option="--prefix=/opt/graphite" --install-option="--install-lib=/opt/graphite/webapp" \
      && cd conf \
      && cp carbon.conf.example carbon.conf \
      && cp storage-schemas.conf.example storage-schemas.conf \
  