From 9add15087f4d8b8bab187dfe75b2e32d6311f883 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 20 Apr 2023 13:58:57 +0200 Subject: [PATCH] Composer 2.2 --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e297354..7bb47c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,10 @@ ENV DISCOVERY_PATCH=4c82fa3e0a2d0a94417cd6b1637893c92f1b1bd5 ENV GITHUB_PATCH=920b06f6f16c22b32c8e2a14772fc053fbb973bb RUN set -xe;\ - apt-install git unzip php${PHPVER}-curl php${PHPVER}-zip php${PHPVER}-bcmath php${PHPVER}-intl php${PHPVER}-mbstring php${PHPVER}-xml composer + apt-install git unzip php${PHPVER}-curl php${PHPVER}-zip php${PHPVER}-bcmath php${PHPVER}-intl php${PHPVER}-mbstring php${PHPVER}-xml +RUN set -xe;\ + curl https://raw.githubusercontent.com/composer/getcomposer.org/0a51b6fe383f7f61cf1d250c742ec655aa044c94/web/installer | php -- --quiet --2.2 &&\ + mv composer.phar /usr/local/bin/composer RUN set -xe;\ cd /var && rm -rf www &&\ git clone https://github.com/pixelfed/pixelfed.git www &&\