From 1531bbf9ddba53abc9d2acf2ef10127c0ca80af6 Mon Sep 17 00:00:00 2001 From: Patrick Nelson Date: Sat, 11 Sep 2021 20:29:44 -0700 Subject: [PATCH] Test compatibility with composer 2 (currently WIP, upstream issues) --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 770ff2c..284889e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,10 +13,9 @@ LABEL org.opencontainers.image.licenses = "GPL-3.0-or-later" RUN apk add --update --no-cache \ git -# Get composer -# TODO: Install default version (currently composer v2) once bug fixed in phar build stage. Create ticket for build error. +# Get latest composer version RUN COMPOSER_HOME=$HOME_DIR/.composer \ - && /usr/bin/curl -sS https://getcomposer.org/installer | php -- --1 --install-dir=/usr/local/bin && mv /usr/local/bin/composer.phar /usr/local/bin/composer + && /usr/bin/curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin && mv /usr/local/bin/composer.phar /usr/local/bin/composer # Configure PHP to allow phar builds COPY conf.d/*.ini /usr/local/etc/php/conf.d/