orangeqs.juice.orchestration.base_image#
Utility for building the Juice base CI image.
Module Contents#
Functions#
Render the Containerfile and pyproject.toml for the Juice base CI image. |
API#
- orangeqs.juice.orchestration.base_image.render_base_image_files(output_dir: pathlib.Path, juice_version: str, *, extra_dependencies: list[str] | None = None) tuple[pathlib.Path, pathlib.Path]#
Render the Containerfile and pyproject.toml for the Juice base CI image.
Loads orchestration settings from the system config and derives
base_image,python_version, andsystem_packagesfrom the singleuser environment. Writes a Containerfile rendered fromenvironment.Containerfile.j2and a pyproject.toml that pinsorangeqs-juice-core[runtime]atjuice_versionfor install from PyPI (no local sources).Parameters#
output_dir:: Directory where the rendered files are written.
juice_version:: Exact version of
orangeqs-juice-coreto install (e.g."26.24.0").extra_dependencies:: Additional Python package specifiers to bake into the base image alongside juice core (e.g. pre-validated stable packages like
"quantify==0.7.0").
Returns#
(tuple[Path, Path]):
(containerfile_path, pyproject_path)