Skip to content

Add Docker build environment#124

Open
MohamedAAbdallah wants to merge 3 commits intotobspr-games:masterfrom
MohamedAAbdallah:master
Open

Add Docker build environment#124
MohamedAAbdallah wants to merge 3 commits intotobspr-games:masterfrom
MohamedAAbdallah:master

Conversation

@MohamedAAbdallah
Copy link

@MohamedAAbdallah MohamedAAbdallah commented Feb 25, 2026

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.

MohamedAAbdallah and others added 3 commits February 25, 2026 06:31
- 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>
@MohamedAAbdallah
Copy link
Author

Thanks to @dengr1065 and @codeman4033 for their valuable guidance.

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.

Implement/review Docker support for CI

1 participant