fix(): composer workaround temporary fix
parent
3e16d4d2a3
commit
f33e22d234
13
Dockerfile
13
Dockerfile
|
@ -30,15 +30,16 @@ RUN echo "@testing https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/r
|
||||||
php7-session@testing \
|
php7-session@testing \
|
||||||
&& cd /tmp \
|
&& cd /tmp \
|
||||||
&& ln -s /usr/bin/php7 /usr/bin/php \
|
&& ln -s /usr/bin/php7 /usr/bin/php \
|
||||||
&& curl -s http://getcomposer.org/installer | php \
|
# && curl -s http://getcomposer.org/installer | php \
|
||||||
&& mv /tmp/composer.phar /usr/bin/composer \
|
# && mv /tmp/composer.phar /usr/bin/composer \
|
||||||
&& chmod +x /usr/bin/composer \
|
# && chmod +x /usr/bin/composer \
|
||||||
&& mkdir -p /flarum/app \
|
&& mkdir -p /flarum/app \
|
||||||
&& addgroup -g ${GID} flarum && adduser -h /flarum -s /bin/sh -D -G flarum -u ${UID} flarum \
|
&& addgroup -g ${GID} flarum && adduser -h /flarum -s /bin/sh -D -G flarum -u ${UID} flarum \
|
||||||
&& chown -R flarum:flarum /flarum \
|
&& chown -R flarum:flarum /flarum \
|
||||||
&& su-exec flarum:flarum composer create-project flarum/flarum /flarum/app $VERSION --stability=beta \
|
&& su-exec flarum:flarum git clone https://github.com/hardware/flarum-src.git /flarum/app
|
||||||
&& composer clear-cache \
|
# && su-exec flarum:flarum composer create-project flarum/flarum /flarum/app $VERSION --stability=beta \
|
||||||
&& rm -rf /flarum/.composer
|
# && composer clear-cache \
|
||||||
|
# && rm -rf /flarum/.composer
|
||||||
|
|
||||||
COPY config.sql /flarum/app/config.sql
|
COPY config.sql /flarum/app/config.sql
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|
Loading…
Reference in New Issue