feat: allow to install the website skeleton (#152)
* feat: allow to install the website skeleton * wip * wip * cleanup * revert rename in docs * cleanup
This commit is contained in:
@@ -18,7 +18,6 @@ RUN apk add --no-cache \
|
||||
gettext \
|
||||
git \
|
||||
gnu-libiconv \
|
||||
jq \
|
||||
;
|
||||
|
||||
# install gnu-libiconv and set LD_PRELOAD env to make iconv work fully on Alpine image.
|
||||
@@ -82,12 +81,17 @@ ENV PATH="${PATH}:/root/.composer/vendor/bin"
|
||||
|
||||
WORKDIR /srv/app
|
||||
|
||||
# Allow to choose skeleton
|
||||
ARG SKELETON="symfony/skeleton"
|
||||
ENV SKELETON ${SKELETON}
|
||||
|
||||
# Allow to use development versions of Symfony
|
||||
ARG STABILITY="stable"
|
||||
ENV STABILITY ${STABILITY:-stable}
|
||||
ENV STABILITY ${STABILITY}
|
||||
|
||||
# Allow to select skeleton version
|
||||
ARG SYMFONY_VERSION=""
|
||||
ENV SYMFONY_VERSION ${SYMFONY_VERSION}
|
||||
|
||||
# Download the Symfony skeleton and leverage Docker cache layers
|
||||
RUN composer create-project "symfony/skeleton ${SYMFONY_VERSION}" . --stability=$STABILITY --prefer-dist --no-dev --no-progress --no-interaction; \
|
||||
|
||||
Reference in New Issue
Block a user