KIWI 10.2.4 |
/bin/sh -c --mount=type=cache,target=/var/cache microdnf update -y --setopt install_weak_deps=0 |
/bin/sh -c --mount=type=cache,target=/var/cache microdnf install -y --setopt=install_weak_deps=0 python3 restic tini && : |
/bin/sh -c --mount=type=bind,from=build,src=/build,target=/build python3 -m venv /app && pythonpath=$(/app/bin/python -Esc 'from sysconfig import *;print(get_path("purelib"))') && /app/bin/python -m pip install --find-links /build/wheels --no-index --requirement /build/restic-exporter/requirements.txt && cp /build/restic-exporter/restic-exporter.py "${pythonpath}"/restic_exporter.py && : |
USER 8001:8001 |
ENTRYPOINT ["tini", "/app/bin/python", "--", "-m", "restic_exporter"] |