opencodeco / phpctl

🐳 It is a Docker (containers) based development environment for PHP 🐘
https://phpctl.dev
MIT License
287 stars 18 forks source link

Handle non-interactive environments like Git hooks #11

Closed leocavalcante closed 8 months ago

leocavalcante commented 8 months ago

If a Git hook calls php, which will call phpctl and its docker run -it (default), it will break with:

the input device is not a TTY