From 23b516fb82dc0526eea8ee60c2c294e809e19afa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Etxaniz?= Date: Fri, 2 Oct 2026 19:48:13 +0200 Subject: [PATCH] Initial content, migrated from the aml gateway rpi7-am-1 --- README.md | 15 ++++++++++++++- image.yml | 4 ++++ local-requirements.txt | 1 + 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 image.yml create mode 100644 local-requirements.txt diff --git a/README.md b/README.md index bcb93f5..3f57317 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ # python-base -Image definition for aml-python, the image every aml script runs in \ No newline at end of file +Image definition for `docker.izazpi.cloud/aml/aml-python`, the image every aml script runs +in. A tag `vX.Y.Z` here builds `aml-python:X.Y.Z` for amd64 and arm64 and writes the build +report onto that tag's release. + +| File | Holds | +|---|---| +| `image.yml` | the base image (under `docker.izazpi.cloud/common/`) and the platforms | +| `local-requirements.txt` | packages from this org's own PyPI registry: `name==version`, or a bare name for the newest | +| `public-requirements.txt` | packages from PyPI, passed to pip as written; add it when a script needs one | + +Today the image carries only `i7lib`, whose one dependency, `requests`, comes with it. + +A new `i7lib` version reaches the scripts in three steps: tag `i7lib`, bump the pin here and +tag this repository, then bump `imageName` in each script's `schedule.yaml` and tag the script. diff --git a/image.yml b/image.yml new file mode 100644 index 0000000..3703d0c --- /dev/null +++ b/image.yml @@ -0,0 +1,4 @@ +baseImage: docker.izazpi.cloud/common/python:3.14-slim-1 +platforms: + - linux/amd64 + - linux/arm64 diff --git a/local-requirements.txt b/local-requirements.txt new file mode 100644 index 0000000..3ceaa80 --- /dev/null +++ b/local-requirements.txt @@ -0,0 +1 @@ +i7lib==0.1.5