anchor.diff:      \
       # Install Node dependencies. Python path for node-gyp.
       npm install -g npm@${NPM_VERSION} && \
  -    #npm config set python python2.7 && \
  -    #npm install -g node-gyp && \
  -    #npm install -g fibers@${FIBERS_VERSION} && \
       \
       # Change user to wekan and install meteor
       cd /home/wekan/ && \
       chown wekan --recursive /home/wekan && \
  -    #curl "https://install.meteor.com" -o /home/wekan/install_meteor.sh && \
  -    #curl "https://install.meteor.com/?release=${METEOR_RELEASE}" -o /home/wekan/install_meteor.sh && \
  -    # OLD: sed -i "s|RELEASE=.*|RELEASE=${METEOR_RELEASE}\"\"|g" ./install_meteor.sh && \
  -    # Install Meteor forcing its progress
  -    #sed -i 's/VERBOSITY="--silent"/VERBOSITY="--progress-bar"/' ./install_meteor.sh && \
       echo "Starting meteor ${METEOR_RELEASE} installation...   \n" && \
       gosu wekan:wekan curl https://install.meteor.com/ | /bin/sh && \
       mv /root/.meteor /home/wekan/ && \
       chown wekan --recursive /home/wekan/.meteor && \
       \
  -    # Check if opting for a release candidate instead of major release
  -    #if [ "$USE_EDGE" = false ]; then \
  -      #gosu wekan:wekan sh /home/wekan/install_meteor.sh; \
  -    #  gosu wekan:wekan curl https://install.meteor.com/ | sh; \
  -    #else \
  -    #  gosu wekan:wekan git clone --recursive --depth 1 -b release/METEOR@${METEOR_EDGE} https://github.com/meteor/meteor.git /home/wekan/.meteor; \
  -    #fi; \
  -    #\
  -    # Get additional packages
  -    #mkdir -p /home/wekan/app/packages && \
  -    #chown wekan:wekan --recursive /home/wekan && \
  -    # REPOS BELOW ARE INCLUDED TO WEKAN REPO
  -    #cd /home/wekan/app/packages && \
  -    #gosu wekan:wekan git clone --depth 1 -b master https://github.com/wekan/flow-router.git kadira-flow-router && \
  -    #gosu wekan:wekan git clone --depth 1 -b master https://github.com/meteor-useraccounts/core.git meteor-useraccounts-core && \
  -    #gosu wekan:wekan git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-cas.git && \
  -    #gosu wekan:wekan git clone --depth 1 -b master https://github.com/wekan/wekan-ldap.git && \
  -    #gosu wekan:wekan git clone --depth 1 -b master https://github.com/wekan/wekan-scrollbar.git && \
  -    #gosu wekan:wekan git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-oidc.git && \
  -    #gosu wekan:wekan git clone --depth 1 -b master --recurse-submodules https://github.com/wekan/markdown.git && \
  -    #gosu wekan:wekan mv meteor-accounts-oidc/packages/switch_accounts-oidc wekan-accounts-oidc && \
  -    #gosu wekan:wekan mv meteor-accounts-oidc/packages/switch_oidc wekan-oidc && \
  -    #gosu wekan:wekan rm -rf meteor-accounts-oidc && \
       sed -i 's/api\.versionsFrom/\/\/api.versionsFrom/' /home/wekan/app/packages/meteor-useraccounts-core/package.js && \
       cd /home/wekan/.meteor && \
       gosu wekan:wekan /home/wekan/.meteor/meteor -- help; \
       \
  -    # extract the OpenAPI specification
  -    #npm install -g api2html@0.3.3 && \
  -    #mkdir -p /home/wekan/python && \
  -    #chown wekan --recursive /home/wekan/python && \
  -    #cd /home/wekan/python && \
  -    #gosu wekan:wekan git clone --depth 1 -b master https://github.com/Kronuz/esprima-python && \
  -    #cd /home/wekan/python/esprima-python && \
  -    #python3 setup.py install --record files.txt && \
  -    #cd /home/wekan/app && \
  -    #mkdir -p /home/wekan/app/public/api && \
  -    #chown wekan --recursive /home/wekan/app && \
  -    #gosu wekan:wekan python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml && \
  -    #gosu wekan:wekan /opt/nodejs/bin/api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml; \
       # Build app
       cd /home/wekan/app && \
       mkdir -p /home/wekan/.npm && \
       chown wekan --recursive /home/wekan/.npm /home/wekan/.config /home/wekan/.meteor && \
  -    #gosu wekan:wekan /home/wekan/.meteor/meteor add standard-minifier-js && \
       chmod u+w *.json && \
       gosu wekan:wekan npm install && \
       gosu wekan:wekan /home/wekan/.meteor/meteor build --directory /home/wekan/app_build && \
  -    #rm /home/wekan/app_build/bundle/programs/server/npm/node_modules/meteor/rajit_bootstrap3-datepicker/lib/bootstrap-datepicker/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs && \
  -    #Removed binary version of bcrypt because of security vulnerability that is not fixed yet.
  -    #https://github.com/wekan/wekan/commit/4b2010213907c61b0e0482ab55abb06f6a668eac
  -    #https://github.com/wekan/wekan/commit/7eeabf14be3c63fae2226e561ef8a0c1390c8d3c
  -    #cd /home/wekan/app_build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt && \
  -    #gosu wekan:wekan rm -rf node_modules/bcrypt && \
  -    #gosu wekan:wekan npm install bcrypt && \
  -    #
  -    # Delete phantomjs
  -    #cd /home/wekan/app_build/bundle && \
  -    #find . -name "*phantomjs*" | xargs rm -rf && \
  -    #
       cd /home/wekan/app_build/bundle/programs/server/ && \
       chmod u+w *.json && \
       gosu wekan:wekan npm install && \
       cd node_modules/fibers && \
       node build.js && \
       cd ../.. && \
  -    #gosu wekan:wekan npm install bcrypt && \
       # Remove legacy webbroser bundle, so that Wekan works also at Android Firefox, iOS Safari, etc.
       rm -rf /home/wekan/app_build/bundle/programs/web.browser.legacy && \
       mv /home/wekan/app_build/bundle /build && \
  
positive.code: # https://github.com/wekan/wekan/wiki/autologin
  #- OIDC_REDIRECTION_ENABLED=true
  #---------------------------------------------------------------------
  # https://github.com/wekan/wekan/issues/3585#issuecomment-1021522132
  # Add more Node heap:
  #   NODE_OPTIONS="--max_old_space_size=4096"
  # Add more stack:
  #   bash -c "ulimit -s 65500; exec node --stack-size=65500 main.js"
  #---------------------------------------------------------------------
  
  # Copy the app to the image
  COPY ${SRC_PATH} /home/wekan/app
  
negative.code:     \
      # OS dependencies
      apt-get update -y && apt-get install -y --no-install-recommends ${BUILD_DEPS} && \
      \
      # Meteor installer doesn't work with the default tar binary, so using bsdtar while installing.
      # https://github.com/coreos/bugs/issues/1095#issuecomment-350574389
  