You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would make it much easy to build extensions in one step and copy the builded extensions to the final image.
This safes build time, because all cleanup commands can be omitted.
For a multi step build, it would be helpful to have an environment variable for the extension folder.
Something like
This would make it much easy to build extensions in one step and copy the builded extensions to the final image.
This safes build time, because all cleanup commands can be omitted.
For now I use a build arg with a matrix in my Dockerfile/GitHub Workflow.
https://github.com/t3easy/docker-php/blob/main/Dockerfile#L2
https://github.com/t3easy/docker-php/blob/main/Dockerfile#L110-L119
https://github.com/t3easy/docker-php/blob/main/.github/workflows/ci.yml#L16
The text was updated successfully, but these errors were encountered: