Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tty not read/writable on build command inside Docker #35

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

mvanduijker
Copy link
Contributor

I got the error

TTY mode requires /dev/tty to be read/writable

when running

php artisan tailwindcss:build --prod

inside a dockerfile based on dunglas/frankenphp:latest-alpine (I guess it would also happen with the official base php docker images).

This patch uses the Symfony Process tty check to more reliably check if the tty is available.

@mvanduijker
Copy link
Contributor Author

@tonysm how can I help to get this fixed / merged?

Copy link
Owner

@tonysm tonysm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

@tonysm
Copy link
Owner

tonysm commented Oct 15, 2024

@mvanduijker Thanks! Sorry for the delay. I might have missed the notification.

@tonysm tonysm merged commit e1ce45e into tonysm:main Oct 15, 2024
7 checks passed
@mvanduijker
Copy link
Contributor Author

no problem @tonysm happens to me all the time. Thanks for accepting the patch.

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.

2 participants