fix(): remove zend stratigility deprecated message

pull/14/head
Hardware 2016-12-19 08:38:23 +01:00
parent f150a59bde
commit d37bf950a6
No known key found for this signature in database
GPG Key ID: EC6DF6F90263EDEA
2 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,11 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a
&& mkdir -p /flarum/app \
&& chown -R $UID:$GID /flarum \
&& COMPOSER_CACHE_DIR="/tmp" su-exec $UID:$GID composer create-project flarum/flarum /flarum/app $VERSION --stability=beta \
# ----- Zend stratigility deprecated message temporary fix -----
# https://github.com/flarum/core/issues/1065
&& rm -f /flarum/app/composer.lock \
&& COMPOSER_CACHE_DIR="/tmp" su-exec $UID:$GID composer require zendframework/zend-stratigility:1.2.* -d /flarum/app \
# --------------------------------------------------------------
&& composer clear-cache \
&& rm -rf /flarum/.composer /var/cache/apk/*

View File

@ -25,6 +25,7 @@ Flarum is the next-generation forum software that makes online discussion fun. I
### Volume
- **/flarum/app/assets** : Flarum assets directory
- **/flarum/app/extensions** : Flarum extension directory
### Environment variables