File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ RUN set -eux; \
4343 gd \
4444 exif \
4545 pdo \
46- iconv \
4746 pcntl \
4847 mbstring \
4948 fileinfo \
@@ -83,7 +82,8 @@ RUN set -eux; \
8382ENV COMPOSER_ALLOW_SUPERUSER=1
8483# install Symfony Flex globally to speed up download of Composer packages (parallelized prefetching)
8584RUN set -eux; \
86- composer global require "symfony/flex" --prefer-dist --no-progress --no-suggest --classmap-authoritative; \
85+ composer global config --no-plugins allow-plugins.symfony/flex true; \
86+ composer global require "symfony/flex" --prefer-dist --no-progress --classmap-authoritative; \
8787 composer clear-cache
8888ENV PATH="${PATH}:/root/.composer/vendor/bin"
8989
@@ -93,9 +93,9 @@ WORKDIR /srv/bolt
9393ARG APP_ENV=prod
9494
9595# prevent the reinstallation of vendors at every changes in the source code
96- COPY composer.json composer.lock symfony.lock ./
96+ COPY composer.* symfony.lock ./
9797RUN set -eux; \
98- composer install --prefer-dist --no-dev --no-scripts --no-progress --no-suggest ; \
98+ composer install --prefer-dist --no-dev --no-scripts --no-progress; \
9999 composer clear-cache
100100
101101# do not use .env files in production
You can’t perform that action at this time.
0 commit comments