Skip to content

fix: Add a wrapper for php binary on the base docker image. Fix #74#85

Open
PierrePaul wants to merge 1 commit intoddev:mainfrom
PierrePaul:20260423_add_php_wrapper
Open

fix: Add a wrapper for php binary on the base docker image. Fix #74#85
PierrePaul wants to merge 1 commit intoddev:mainfrom
PierrePaul:20260423_add_php_wrapper

Conversation

@PierrePaul
Copy link
Copy Markdown
Contributor

The Issue

#74 Add default /usr/local/bin/php executable file

How This PR Solves The Issue

To help with static analysis tools like phpcs, we're adding a wrapper named php that actually calls the php binary inside the ddev container.

Manual Testing Instructions

  • make build
  • make test
  • docker run -it --rm ddev/coder-ddev:$(cat VERSION) php -i

Using default configuration, you should get an error similar to : Docker error: failed to connect to the docker API which means php is really calling ddev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant