anchor.diff:  # GitHub source
   ARG repository="https://github.com/inventree/InvenTree.git"
   ARG branch="master"
  +
  +# Optionally specify a particular tag to checkout
  +ARG tag=""
   
   ENV PYTHONUNBUFFERED 1
   
  
positive.code: 
  FROM base as production
  # Clone source code
  RUN echo "Downloading InvenTree from ${INVENTREE_REPO}"
  RUN git clone --branch ${INVENTREE_BRANCH} --depth 1 ${INVENTREE_REPO} ${INVENTREE_HOME}
  
  # Install InvenTree packages
  RUN pip install --no-cache-dir -U -r ${INVENTREE_HOME}/requirements.txt
  
negative.code: ENV INVENTREE_HOME="/home/inventree"
  
  # GitHub settings
  ENV INVENTREE_GIT_REPO="${repository}"
  ENV INVENTREE_GIT_BRANCH="${branch}"
  ENV INVENTREE_GIT_TAG="${tag}"
  
  ENV INVENTREE_LOG_LEVEL="INFO"
  ENV INVENTREE_DOCKER="true"
  