From 6c8907cb33f45f63240ad6e3d7ba9a6691ae7404 Mon Sep 17 00:00:00 2001 From: oussaka Date: Mon, 17 Aug 2020 00:26:47 +0200 Subject: [PATCH] new Symfony Installer to create a new Symfony application --- workspace/Dockerfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 6d059bac..ea8943f1 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -1059,14 +1059,10 @@ ARG INSTALL_SYMFONY=false RUN if [ ${INSTALL_SYMFONY} = true ]; then \ mkdir -p /usr/local/bin \ - && curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony \ + && apt-get -y install sudo wget \ + && wget --quiet https://get.symfony.com/cli/installer -O - | bash \ + && mv /root/.symfony/bin/symfony /usr/local/bin/symfony \ && chmod a+x /usr/local/bin/symfony \ - # Symfony 3 alias - && echo 'alias dev="php bin/console -e=dev"' >> ~/.bashrc \ - && echo 'alias prod="php bin/console -e=prod"' >> ~/.bashrc \ - # Symfony 2 alias - # && echo 'alias dev="php app/console -e=dev"' >> ~/.bashrc \ - # && echo 'alias prod="php app/console -e=prod"' >> ~/.bashrc \ ;fi ###########################################################################