Mettre à jour 'cachethq/Dockerfile'

This commit is contained in:
Dryusdan 2017-11-02 14:25:34 +00:00
parent f9fe563d41
commit b0ab198394
1 changed files with 4 additions and 4 deletions

View File

@ -2,15 +2,15 @@ FROM xataz/nginx-php
ENV UID=991 GID=991
COPY rootfs /
RUN apk -U add git curl \
&& git clone --branch v2.3.13 https://github.com/CachetHQ/Cachet.git /cachetHQ \
&& cd /cachetHQ \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& echo "*** composer install ***" \
&& composer install --no-dev \
&& echo "*** apk del ***" \
&& chmod +x /usr/local/bin/startup \
&& apk del git curl \
&& rm -rf /var/cache/apk/* /tmp/* /root/.gnupg /root/.cache/ /cachetHQ/.git
WORKDIR cachetHQ
COPY rootfs /
WORKDIR cachetHQ