Bootstrap: docker From: ghcr.io/prefix-dev/pixi:0.49.0 %labels Author ATGC Tool PairK PairK-Commit 7265e5f507065012b2be013e1a0539ee27a7a895 %files pairk/pairk-project-7265e5f.tar.gz /opt/pairk-project.tar.gz %post set -eu apt-get update # Pixi resolves AIUPred from GitHub; GitHub is reachable from ATGC_Tide. # PairK itself remains vendored above and never contacts gite.lirmm.fr. apt-get install -y --no-install-recommends ca-certificates git rm -rf /var/lib/apt/lists/* mkdir -p /opt/pairk tar -xzf /opt/pairk-project.tar.gz --strip-components=1 -C /opt/pairk rm -f /opt/pairk-project.tar.gz cd /opt/pairk # paths.py generates a C header on every import upstream. Runtime containers # are immutable and do not need that database-build-only side effect. sed -i '/^### Fichier paths.h/,$d' paths.py pixi install --locked # Imported by backend/orthogroupe/cli_wrappers.py but absent from the # upstream manifest and lock file at the pinned commit. pixi add 'psutil==7.2.2' %environment export PATH=/opt/pairk/.pixi/envs/default/bin:$PATH export PYTHONPATH=/opt/pairk export PYTHONDONTWRITEBYTECODE=1 %test test -f /opt/pairk/pipeline.py test -x /opt/pairk/.pixi/envs/default/bin/python