File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,11 @@ COPY ./docker/h2-proxy/default.conf /etc/nginx/conf.d/default.conf
32
32
# ## PHP
33
33
FROM php:${PHP_VERSION}-fpm-alpine AS symfony_docker_php
34
34
35
- RUN apk add --no-cache --virtual .persistent-deps \
35
+ RUN apk add --no-cache \
36
36
git \
37
37
icu-libs \
38
- zlib
38
+ zlib \
39
+ jq
39
40
40
41
ENV APCU_VERSION 5.1.12
41
42
RUN set -eux \
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'bin/console' ]; then
16
16
# The first time volumes are mounted, the project needs to be recreated
17
17
if [ ! -f composer.json ]; then
18
18
composer create-project " symfony/skeleton $SYMFONY_VERSION " tmp --stability=$STABILITY --prefer-dist --no-progress --no-interaction
19
+ jq ' .extra.symfony.docker=true' tmp/composer.json > tmp/composer.tmp.json
20
+ rm tmp/composer.json
21
+ mv tmp/composer.tmp.json tmp/composer.json
22
+
19
23
cp -Rp tmp/. .
20
24
rm -Rf tmp/
21
25
elif [ " $APP_ENV " != ' prod' ]; then
You can’t perform that action at this time.
0 commit comments