Skip to content

Commit 6ae9dc0

Browse files
authored
Merge pull request dunglas#10 from dunglas/build-arg
Allow to use Symfony 4
2 parents ce2ed96 + 34bfe40 commit 6ae9dc0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@ RUN composer global require "hirak/prestissimo:^0.3" --prefer-dist --no-progress
4343
COPY docker/app/docker-entrypoint.sh /usr/local/bin/docker-app-entrypoint
4444
RUN chmod +x /usr/local/bin/docker-app-entrypoint
4545

46+
# Allow to use development versions of Symfony
47+
ARG STABILITY=stable
48+
ENV STABILITY ${STABILITY}
49+
4650
# Download the Symfony skeleton and leverage Docker cache layers
47-
ENV STABILITY stable
4851
RUN composer create-project "symfony/skeleton" . --stability=$STABILITY --prefer-dist --no-dev --no-progress --no-scripts --no-plugins --no-interaction
4952

5053
COPY . .

0 commit comments

Comments
 (0)