I looked over the Go and PHP images. There's no benefit to using either one - they just wrap existing tool images and add metadata that will vary greatly between developers.
When I see a Dockerfile template for Go, I want to see a multistage build toolchain that produces a very slim binary inside a Docker image.
When I see a Dockerfile template for PHP, there are far too many possible ways to build a Docker image for such an app, so I'd err on the side of making several boilerplate images - one for a straight Composer build, one for a Laravel build, and one for a Symfony build. All of them would have to be multistage.
The project was built for just to be able to run source directly and not for production purpose in the beginning. But now more people are asking for multistage build which are useful as mentioned for real world development. I didn't expect such an overwhelming response for such a project. So now I will try to add useful multistage builds ASAP. For now, if interested anyone could open a pull request and add one.
Thank you for your feedback.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I looked over the Go and PHP images. There's no benefit to using either one - they just wrap existing tool images and add metadata that will vary greatly between developers.
When I see a Dockerfile template for Go, I want to see a multistage build toolchain that produces a very slim binary inside a Docker image.
When I see a Dockerfile template for PHP, there are far too many possible ways to build a Docker image for such an app, so I'd err on the side of making several boilerplate images - one for a straight Composer build, one for a Laravel build, and one for a Symfony build. All of them would have to be multistage.
The project was built for just to be able to run source directly and not for production purpose in the beginning. But now more people are asking for multistage build which are useful as mentioned for real world development. I didn't expect such an overwhelming response for such a project. So now I will try to add useful multistage builds ASAP. For now, if interested anyone could open a pull request and add one.
Thank you for your feedback.