Bootstrap: docker From: debian:bookworm-slim %labels Author ATGC Tool RAxML-NG %help Build an Apptainer image for RAxML-NG using the upstream Linux release. %post set -eu export DEBIAN_FRONTEND=noninteractive apt-get update apt-get install -y --no-install-recommends \ ca-certificates \ unzip \ wget apt-get clean rm -rf /var/lib/apt/lists/* RAXMLNG_VERSION="2.0.1" RAXMLNG_URL="https://github.com/amkozlov/raxml-ng/releases/download/${RAXMLNG_VERSION}/raxml-ng_v${RAXMLNG_VERSION}_linux_x86_64.zip" mkdir -p /opt/raxml-ng wget -q -O /tmp/raxml-ng.zip "${RAXMLNG_URL}" echo "290392ee2332f966f627e9b66d54e7bbd26b8d25ff49bf1870c371b4e8910f73 /tmp/raxml-ng.zip" | sha256sum -c - unzip -q /tmp/raxml-ng.zip -d /opt/raxml-ng install -m 0755 /opt/raxml-ng/raxml-ng /usr/local/bin/raxml-ng rm -f /tmp/raxml-ng.zip %environment export PATH=/usr/local/bin:$PATH %runscript exec /usr/local/bin/raxml-ng "$@" %test test -x /usr/local/bin/raxml-ng