From 34bfe4071796d3312504b22504a420f6c4f004df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Thu, 19 Oct 2017 22:32:57 +0200 Subject: [PATCH] Allow to use Symfony 4 --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c50f22b..c009a8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,8 +43,11 @@ RUN composer global require "hirak/prestissimo:^0.3" --prefer-dist --no-progress COPY docker/app/docker-entrypoint.sh /usr/local/bin/docker-app-entrypoint RUN chmod +x /usr/local/bin/docker-app-entrypoint +# Allow to use development versions of Symfony +ARG STABILITY=stable +ENV STABILITY ${STABILITY} + # Download the Symfony skeleton and leverage Docker cache layers -ENV STABILITY stable RUN composer create-project "symfony/skeleton" . --stability=$STABILITY --prefer-dist --no-dev --no-progress --no-scripts --no-plugins --no-interaction COPY . .