File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ RUN apk add --no-cache \
18
18
gettext \
19
19
git \
20
20
gnu-libiconv \
21
- jq \
22
21
;
23
22
24
23
# install gnu-libiconv and set LD_PRELOAD env to make iconv work fully on Alpine image.
Original file line number Diff line number Diff line change @@ -21,10 +21,7 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
21
21
composer create-project " $SKELETON $SYMFONY_VERSION " tmp --stability=" $STABILITY " --prefer-dist --no-progress --no-interaction --no-install
22
22
23
23
cd tmp
24
- jq ' .extra.symfony.docker=true' composer.json > composer.tmp.json
25
- ls
26
- rm composer.json
27
- mv composer.tmp.json composer.json
24
+ composer config --json extra.symfony.docker ' true'
28
25
cp -Rp . ..
29
26
cd -
30
27
@@ -36,8 +33,8 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
36
33
composer install --prefer-dist --no-progress --no-interaction
37
34
38
35
if grep -q ^DATABASE_URL= .env; then
39
- if [ -z " $CREATION " ]; then
40
- echo " Please stop and start docker compose again to finish the installation. "
36
+ if [ " $CREATION " = " 1 " ]; then
37
+ echo " To finish the installation please press Ctrl+C to stop Docker Compose and run: docker-compose up --build "
41
38
sleep infinity
42
39
fi
43
40
You can’t perform that action at this time.
0 commit comments