From 6a42f63760d4732165fede89744dea049d469a74 Mon Sep 17 00:00:00 2001 From: Arkadiusz Krakowiak Date: Mon, 8 Nov 2021 11:43:27 +0100 Subject: [PATCH] [DockerImages] Add symfony cli --- php/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/php/Dockerfile b/php/Dockerfile index 3f420fe..ed27ab4 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -14,3 +14,10 @@ RUN docker-php-ext-install pdo_mysql COPY php.ini $PHP_INI_DIR/php.ini ENV PHP_DATE_TIMEZONE="Europe/Warsaw" COPY --from=composer /usr/bin/composer /usr/bin/composer +WORKDIR /symfony +RUN apt install -y wget +RUN wget https://get.symfony.com/cli/installer +RUN chmod +x installer +RUN bash installer +RUN mv /root/.symfony/bin/symfony /usr/local/bin/symfony +WORKDIR / \ No newline at end of file