Open
Description
Describe the bug
When running invoke img-build
, the build process fails due to missing package sources for Debian Jessie. The error trace shows multiple 404 Not Found
errors when trying to fetch packages from http://security.debian.org
and http://deb.debian.org
, which are no longer available. This causes the build script to terminate with a CalledProcessError
.
To Reproduce
Affected versions:
doodba:10.0-onbuild
From #503 I'm guessing also these which are based on jessie ¿don't?:
doodba:9.0-onbuild
doodba:8.0-onbuild
Steps to reproduce the behavior, in a doodba-copier-template 10.0 fresh project:
- Run
invoke img-build
- Observe package retrieval errors from Debian Jessie repositories
- Build process fails with
subprocess.CalledProcessError: Command '/opt/odoo/common/build.d/250-postgres-client' returned non-zero exit status 100
Expected behavior
The build process should complete successfully without failing due to missing package sources.
Additional context
- Debian Jessie repositories have been moved to an archive and are no longer available at standard URLs.
- The issue occurs because the build process relies on these outdated sources.
- Potential solutions may include updating the base image or modifying repository URLs.
- I'm planning to raise a PR to fix this using build.d mechanism (this is why I raised the issue here)