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 . .