Bootstrap: docker
From: debian:trixie

%post
    set -e
    export DEBIAN_FRONTEND=noninteractive

    apt-get update
    apt-get install -y --no-install-recommends \
        bash \
        dbus-bin \
        ase

    dbus-uuidgen > /etc/machine-id

    apt-get clean
    rm -rf /var/lib/apt/lists/*

%environment
    export LC_ALL=C
    export LANG=C

%runscript
    exec /bin/bash "$@"

%help
    Container based on debian trixie

    Default command:
        /bin/bash

    Executables:
        ase

    Usage:
        apptainer run ase.sif [options]

%labels
    Author="GRADES"
    Institution="Synchrotron SOLEIL"
    Version="debian-trixie"
    System="debian:trixie"
    Packages="ase"
    Entrypoint="/bin/bash"
