Bootstrap: docker From: debian:trixie-slim %files fasttree/runtime.py /opt/myst-plugin/runtime.py fasttree/engine.py /opt/myst-plugin/engine.py fasttree/config.json /opt/myst-plugin/config.json %post set -eu export DEBIAN_FRONTEND=noninteractive apt-get update apt-get install -y --no-install-recommends python3 python3-biopython ca-certificates apt-get install -y --no-install-recommends gcc libc6-dev curl mkdir -p /opt/fasttree curl -fL --retry 3 https://raw.githubusercontent.com/morgannprice/fasttree/a5a2723ea1e64faf3da7ea514521cfa348891add/FastTree.c -o /opt/fasttree/FastTree.c echo '975202a6b74c9996af871404ff043bb2152edcbda539035662514bc12d1f3431 /opt/fasttree/FastTree.c' | sha256sum -c - gcc -O3 -fopenmp-simd /opt/fasttree/FastTree.c -lm -o /usr/local/bin/FastTree dpkg-query -W > /opt/myst-plugin/packages.tsv rm -rf /var/lib/apt/lists/* %environment export OMP_NUM_THREADS=1 export OPENBLAS_NUM_THREADS=1 %runscript exec python3 /opt/myst-plugin/runtime.py "$@" %test python3 -c 'from Bio import AlignIO, Phylo, SeqIO' test -s /opt/myst-plugin/config.json %labels Author ATGC Tool fasttree