Use SYMFONY_VERSION as a variable name everywhere to avoid mistakes

This commit is contained in:
Mateusz Sip
2018-06-23 21:58:44 +02:00
parent d9541dc3f8
commit bd86544c3e
3 changed files with 6 additions and 4 deletions

View File

@@ -40,10 +40,10 @@ ARG STABILITY=stable
ENV STABILITY ${STABILITY}
# Allow to select skeleton version
ARG VERSION=""
ARG SYMFONY_VERSION=""
# Download the Symfony skeleton and leverage Docker cache layers
RUN composer create-project "symfony/skeleton ${VERSION}" . --stability=$STABILITY --prefer-dist --no-dev --no-progress --no-scripts --no-plugins --no-interaction
RUN composer create-project "symfony/skeleton ${SYMFONY_VERSION}" . --stability=$STABILITY --prefer-dist --no-dev --no-progress --no-scripts --no-plugins --no-interaction
###> recipes ###
###< recipes ###