From f8cfbebd26de4395f6e7b5b599434d92ce8224ac Mon Sep 17 00:00:00 2001 From: Tchama Date: Fri, 16 Apr 2021 08:37:21 +0200 Subject: [PATCH] add Symfony installer in php container --- docker_build/php/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docker_build/php/Dockerfile b/docker_build/php/Dockerfile index 81d739b..d80f8f7 100644 --- a/docker_build/php/Dockerfile +++ b/docker_build/php/Dockerfile @@ -51,8 +51,14 @@ RUN { \ } >> /usr/local/etc/php/conf.d/date.ini # Install composer -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer +# RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer +# Symfony installer +RUN curl -sS https://get.symfony.com/cli/installer -o /usr/local/bin/installer | bash \ + && chmod a+x /usr/local/bin/installer \ + && /usr/local/bin/installer \ + && mv /root/.symfony/bin/symfony /usr/local/bin/symfony \ + && chmod a+x /usr/local/bin/symfony # Add users/groups with uid 1000 RUN groupadd --gid ${GID} "group${GID}" \