From 4ef4531a4eab040b32565fd8515d15f739013ce7 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 6 Jul 2023 12:17:56 +1000 Subject: [PATCH] Ensure composer is present --- alpine/5/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alpine/5/Dockerfile b/alpine/5/Dockerfile index 40bd1e5..d8cc0f1 100644 --- a/alpine/5/Dockerfile +++ b/alpine/5/Dockerfile @@ -100,6 +100,8 @@ COPY --from=build --chown=$INVOICENINJA_USER:$INVOICENINJA_USER /var/www/app /va USER $UID WORKDIR /var/www/app +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer + # Do not remove this ENV ENV IS_DOCKER true RUN /usr/local/bin/composer install --no-dev --quiet