From 9fcfbef80b2f6a06370a99149095fd817e0ce410 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sun, 26 Jul 2020 12:38:49 +0200 Subject: [PATCH] use composert < 2 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1537258..ad5120a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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