add Symfony installer in php container
This commit is contained in:
parent
c6012c5122
commit
f8cfbebd26
@ -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}" \
|
||||
|
Loading…
Reference in New Issue
Block a user