Skip to content

Recipe for ARM compatible PHP image xdebug and wpcli bundled

Notifications You must be signed in to change notification settings

DevUnstuck/wp-docker-dev-apple-si

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

WP Docker Dev For Apple Silicon

A beefed up version of php - Official Image build for debugging WordPress core with Docker on Apple Silicon.

Pull from Docker Hub (devunstuck / wp-docker-dev-apple-si):

docker pull devunstuck/wp-docker-dev-apple-si:latest

Includes:

  • WP-CLI
    • The official wordpressdevelop/cli image doesn't have a ARM compatible version. Rather than using a seperate container, wpcli is installed to avoid setup struggles on devices like Apple Silicon powered M1, M2.
  • Xdebug.

WPCLI

To run wp commands, use the wp_php user.

E.g. To run wp help on a container named du-wordpress-develop-php-1 that was built using this image(devunstuck / wp-docker-dev-apple-si) :

docker exec -u wp_php du-wordpress-develop-php-1 wp help

Xdebug

Xdebug is enabled by default.

About

Recipe for ARM compatible PHP image xdebug and wpcli bundled

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published