Allow to use Symfony 4

This commit is contained in:
Kévin Dunglas 2017-10-19 22:32:57 +02:00
parent ce2ed96360
commit 34bfe40717
No known key found for this signature in database
GPG Key ID: 4D04EBEF06AAF3A6

View File

@ -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 COPY docker/app/docker-entrypoint.sh /usr/local/bin/docker-app-entrypoint
RUN chmod +x /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 # 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 RUN composer create-project "symfony/skeleton" . --stability=$STABILITY --prefer-dist --no-dev --no-progress --no-scripts --no-plugins --no-interaction
COPY . . COPY . .