Skip to content

Commit

Permalink
Linux compatibility fixes via @DonRichards
Browse files Browse the repository at this point in the history
  • Loading branch information
alxp committed May 18, 2024
1 parent 3d911fc commit 2c0794a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -693,10 +693,12 @@ wait-for-drupal-locally:
done

.PHONY: xdebug
## Turn on xdebug.
xdebug:
sleep 6
docker-compose exec -T drupal with-contenv bash -lc "apk add php82-pecl-xdebug"
docker cp scripts/extra/xdebug.ini $$(docker-compose ps -q drupal):/etc/php82/conf.d/xdebug.ini
-docker-compose exec -T drupal with-contenv bash -lc "chown root:root /etc/php82/conf.d/xdebug.ini "
docker-compose restart drupal
docker-compose exec -T drupal with-contenv bash -lc "php -i | grep xdebug"
docker compose exec -T drupal with-contenv bash -lc "apk add php82-pecl-xdebug"
docker cp scripts/extra/xdebug.ini $$(docker compose ps -q drupal):/etc/php82/conf.d/xdebug.ini
-docker compose exec -T drupal with-contenv bash -lc "chown root:root /etc/php82/conf.d/xdebug.ini"
docker compose restart drupal
sleep 6
docker compose exec -T drupal with-contenv bash -lc "php -i | grep xdebug"

0 comments on commit 2c0794a

Please sign in to comment.