use composert < 2
This commit is contained in:
parent
77122e6392
commit
9fcfbef80b
@ -31,8 +31,8 @@ RUN mkdir -p /usr/share/webapps/cops
|
||||
RUN wget -qO- https://github.com/seblucas/cops/archive/$VERSION.tar.gz | tar xz -C /usr/share/webapps/cops --strip 1
|
||||
|
||||
WORKDIR /usr/share/webapps/cops
|
||||
RUN wget https://getcomposer.org/composer.phar
|
||||
RUN php composer.phar global require "fxp/composer-asset-plugin:~1.1"
|
||||
RUN wget https://getcomposer.org/download/1.9.0/composer.phar
|
||||
RUN php composer.phar --no-plugins global require "fxp/composer-asset-plugin:~1.1"
|
||||
RUN php composer.phar install --no-dev --optimize-autoloader
|
||||
|
||||
RUN chown -R nginx:nginx /usr/share/webapps/cops
|
||||
|
Loading…
Reference in New Issue
Block a user