Add Docker build environment#124
Open
MohamedAAbdallah wants to merge 3 commits intotobspr-games:masterfrom
Open
Add Docker build environment#124MohamedAAbdallah wants to merge 3 commits intotobspr-games:masterfrom
MohamedAAbdallah wants to merge 3 commits intotobspr-games:masterfrom
Conversation
- Introduced a .dockerignore file to exclude unnecessary files from the Docker build context. - Added a docker-entrypoint.sh script to manage gulp tasks and handle output copying. - Updated Dockerfile to use Node.js 22 and streamline the build process with caching. - Enhanced README with Docker build instructions for easier setup and usage.
Co-authored-by: dengr1065 <dengr1065@gmail.com>
Author
|
Thanks to @dengr1065 and @codeman4033 for their valuable guidance. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Following up on @dengr1065’s request in #57. This PR aims to close #57.
This adds an optional Docker setup so the game can be built in a clean, reproducible environment instead of depending on local prerequisites (which tend to drift, especially across distros and CI).
The container bundles the required toolchain and runs the packaging tasks, making builds easier to reproduce and avoiding leftover state after failures. CI support and a short README section are included.
Happy to tweak if there’s a preferred approach.