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}" \