Merge pull request #10 from dunglas/build-arg

Allow to use Symfony 4
This commit is contained in:
Kévin Dunglas 2017-10-19 22:46:27 +02:00 committed by GitHub
commit 6ae9dc04f9

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