This folder provides a minimal Docker setup to exercise the odoo_install.sh script in a clean Ubuntu 24.04 container.
- Docker 24+
- Docker Compose plugin (
docker composeCLI)
docker compose buildRun the container detached so it stays online for manual testing:
docker compose up -d- Attach to the container shell:
docker compose exec odoo19 bash - Make the script executable (first run only):
chmod +x /opt/odoo-install/odoo_install.sh
- Execute the installer:
/opt/odoo-install/odoo_install.sh
The script runs as root inside the container, so the bundled sudo calls succeed without additional configuration. The Docker image already sets locale and timezone data to avoid interactive prompts from tzdata.
To destroy the test container and start fresh:
docker compose down -vRe-run the Build and Start steps to begin another test cycle.