Thank you for your interest in contributing to the GLPI Docker images project!
This guide will help you set up your local development environment to test changes.
To verify that the Docker image builds and runs correctly, you need to populate the ./glpi/sources directory with the GLPI source code.
We provide a helper script to automatically fetch and extract the GLPI source code.
Download the latest stable version (jq required):
./download_sources.shDownload a specific version (e.g. 10.0.16):
./download_sources.sh 10.0.16Note: This script downloads the source code archive from GitHub into
glpi/sources. This is required for the Docker build process (Dockerfilecopies content from this directory).
We provide a docker-compose.test.yml file designed to test the glpi container.
Run the stack (builds the image and starts GLPI + MariaDB):
docker compose -f docker-compose.test.yml up --buildOnce the containers are up:
- Check the logs to see the installation progress:
docker compose -f docker-compose.test.yml logs -f glpi
- Wait for the "GLPI installation completed successfully!" message.
- Access GLPI at http://localhost:8080.
- User:
glpi - Password:
glpi
- User:
To stop and remove the test containers:
docker compose -f docker-compose.test.yml down -v