Skip to content

Commit

Permalink
temporary added git
Browse files Browse the repository at this point in the history
  • Loading branch information
dlen committed Jan 17, 2018
1 parent 613155c commit 61308ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM php:7-fpm-alpine3.7

LABEL MAINTAINER [email protected]

ENV PASSBOLT_URL https:/passbolt/passbolt_api/archive/develop.tar.gz
ENV PASSBOLT_VERSION 2.0.0-rc1
ENV PASSBOLT_URL https:/passbolt/passbolt_api/archive/v${PASSBOLT_VERSION}.tar.gz

ARG PHP_EXTENSIONS="gd \
intl \
Expand Down Expand Up @@ -31,6 +32,7 @@ RUN apk add --no-cache $PHP_GNUPG_BUILD_DEPS \
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 \
Expand All @@ -41,7 +43,7 @@ RUN apk add --no-cache $PHP_GNUPG_BUILD_DEPS \
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 \
&& 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) \
Expand Down

0 comments on commit 61308ff

Please sign in to comment.