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

[9.0] Windows entrypoint adjustments #500

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

jackbayliss
Copy link
Contributor

@jackbayliss jackbayliss commented Dec 17, 2024

This closes #501 :

  • added a shebang to ensure the container knows what interpreter to use
  • uses [[ instead of [, which is more robust I believe
  • directly invoke exec php-fpm, rather than passing it a string
  • adjusts spacing

Also wrapped some ports I found in quotes

Not sure which fixed the entrypoint issue, but seems to work locally now

This works on Windows, but please check on mac etc, but I believe it should be fine :)

@jackbayliss jackbayliss marked this pull request as ready for review December 17, 2024 22:47
@jackbayliss jackbayliss changed the title Windows entrypoitnt adjustments [9.0] Windows entrypoint adjustments Dec 17, 2024
@lanedirt
Copy link
Owner

Just tested it on Mac, looks to be working fine there. Linux also works as the tests show. Thanks, merging!

@lanedirt lanedirt merged commit 9bc0299 into lanedirt:main Dec 17, 2024
5 checks passed
@lanedirt lanedirt added the bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Issue creating docker images on windows due to entrypoint
2 participants