anchor.diff:      && echo "\n\n* soft nofile 700000\n* hard nofile 700000\n\n" >> /etc/security/limits.conf \
   
   # vesta monkey patching
  -    && curl https://raw.githubusercontent.com/serghey-rodin/vesta/04d617d756656829fa6c6a0920ca2aeea84f8461/func/db.sh > /usr/local/vesta/func/db.sh \
  -    && curl https://raw.githubusercontent.com/serghey-rodin/vesta/04d617d756656829fa6c6a0920ca2aeea84f8461/func/rebuild.sh > /usr/local/vesta/func/rebuild.sh \
  +    && rm f /usr/local/vesta/func/db.sh && rm -f /usr/local/vesta/func/rebuild.sh \
  +    && curl -SL https://raw.githubusercontent.com/serghey-rodin/vesta/04d617d756656829fa6c6a0920ca2aeea84f8461/func/db.sh --output /usr/local/vesta/func/db.sh \
  +    && curl -SL https://raw.githubusercontent.com/serghey-rodin/vesta/04d617d756656829fa6c6a0920ca2aeea84f8461/func/rebuild.sh --output /usr/local/vesta/func/rebuild.sh \
   
   # patch psql9.5 backup
       && sed -i -e "s/\-c \-\-inserts \-O \-x \-i \-f/\-\-inserts \-x \-f/g" /usr/local/vesta/func/db.sh \
  
positive.code:     cd /tmp \
  
  # dotnet
      && curl -SL $DOTNET_DOWNLOAD_URL --output /tmp/dotnet.tar.gz \
      && mkdir -p /usr/share/dotnet \
      && tar -zxf /tmp/dotnet.tar.gz -C /usr/share/dotnet \
      && ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet \
  
negative.code:     && mv /usr/bin/php-cgi /usr/bin/php-cgi-old \
      && ln -s /usr/bin/php-cgi7.0 /usr/bin/php-cgi \
  
  # finish cleaning up
      && rm -rf /tmp/* \
      && apt-get -yf autoremove \
  