add Symfony installer in php container

This commit is contained in:
Tchama 2021-04-16 08:37:21 +02:00
parent c6012c5122
commit f8cfbebd26
1 changed files with 7 additions and 1 deletions

View File

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