anchor.diff:        libxslt-dev \
         libmcrypt-dev \
         supervisor \
  +      git \
       && pecl install gnupg redis mcrypt-snapshot \
       && docker-php-ext-install -j4 $PHP_EXTENSIONS \
       && docker-php-ext-enable $PHP_EXTENSIONS gnupg redis mcrypt \
  
positive.code: 
  LABEL MAINTAINER diego@passbolt.com
  
  ENV PASSBOLT_URL https://github.com/passbolt/passbolt_api/archive/develop.tar.gz
  
  ARG PHP_EXTENSIONS="gd \
        intl \
  
negative.code: RUN mkdir -p /var/www/passbolt \
      && curl -sSL $PASSBOLT_URL | tar zxf - -C /var/www/passbolt --strip-components 1 \
      && cd /var/www/passbolt \
      && composer install --no-dev --optimize-autoloader \
      && chown -R www-data:www-data /var/www/passbolt \
      && chmod 775 $(find /var/www/passbolt/tmp -type d) \
      && chmod 664 $(find /var/www/passbolt/tmp -type f) \
  