# created by /usr/bin/deb2apptainer on mer. 15 oct. 2025 12:42:58 CEST
#
# Singularity/Apptainer image horae_athena
#
# build: apptainer build horae_athena.sif
# run:   apptainer run   horae_athena.sif

Bootstrap: docker
From: debian:trixie

%files
    apt/  /opt/install/
    README /opt/install/
    file_list.txt /opt/install/
    horae_athena.def /opt/install/
    post_add_apt_sources /opt/install/
    

%post
    chmod a+x /opt/install/post_add_apt_sources && sh -c "/opt/install/post_add_apt_sources"
    apt-get update -y
    apt-get install -y --no-install-recommends bash  horae
    echo 36031769c2144452b72962659748e86d > /etc/machine-id
    
    rm -rf /opt/install/apt
    useradd -ms /bin/bash user
    
%environment
    export LC_ALL=C
    export PATH=/usr/games:/home/experiences/grades/cassam/.local/bin:/home/experiences/grades/cassam/.local/share/../bin:/home/experiences/grades/cassam/.config/guix/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

%runscript
    echo "Starting container horae_athena, built on mer. 15 oct. 2025 12:42:58 CEST from debian:trixie"
    cat /opt/install/README || echo " "
    if [ $# -ge 1 ]; then athena  $@;  else athena; fi
    
%help
    This is a horae_athena Singularity/Apptainer with packages horae.
    The default start-up command is athena.
    Installation files and README are in /opt/install
    
%labels
    Name horae_athena
    System debian:trixie
    Date mer. 15 oct. 2025 12:42:58 CEST
    Creator /usr/bin/deb2apptainer
    Command athena
