File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,7 +230,8 @@ docker_run() {
230230
231231 # we don't want to edit composer.json accidentally
232232 [ -s " $vendorDir /composer.json" ] || \
233- cp -- " $workdir /composer.json" " $vendorDir /composer.json"
233+ cat " $workdir /composer.json" | grep -v ' apigen/apigen' \
234+ > " $vendorDir /composer.json"
234235
235236 # Each container has its own composer.lock file
236237 # to avoid conflicts between different PHP versions.
@@ -241,8 +242,8 @@ docker_run() {
241242 docker run --rm " -i$( tty -s && echo t) " \
242243 -u " 0:$( id -g) " \
243244 -e " HOME=/app/vendor" \
244- -e " USER=$( id -un) " \
245245 -e " UID=$( id -u) " \
246+ -e " USER=$( id -un) " \
246247 -v " $workdir :/app" \
247248 -v " $vendorDir /composer.json:/app/composer.json" \
248249 -v " $vendorDir /composer.lock:/app/composer.lock" \
You can’t perform that action at this time.
0 commit comments