Mettre à jour 'cachethq/Dockerfile'

This commit is contained in:
Dryusdan 2017-11-02 15:41:07 +00:00
parent 760f1e1e55
commit cdd0bcdbe9
1 changed files with 3 additions and 4 deletions

View File

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