# created by /usr/bin/deb2apptainer on mer. 15 oct. 2025 12:52:38 CEST
#
# Singularity/Apptainer image quantum-espresso_bash
#
# build: apptainer build quantum-espresso_bash.sif
# run:   apptainer run   quantum-espresso_bash.sif

Bootstrap: docker
From: debian:trixie

%files
    apt/  /opt/install/
    README /opt/install/
    file_list.txt /opt/install/
    quantum-espresso_bash.def /opt/install/
    
    

%post
    
    apt-get update -y
    apt-get install -y --no-install-recommends bash  quantum-espresso
    echo 2790c54afc864cd89df7cf2bfab19dad > /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 quantum-espresso_bash, built on mer. 15 oct. 2025 12:52:38 CEST from debian:trixie"
    cat /opt/install/README || echo " "
    if [ $# -ge 1 ]; then /bin/bash -c $@;  else /bin/bash; fi
    
%help
    This is a quantum-espresso_bash Singularity/Apptainer with packages quantum-espresso.
    The default start-up command is /bin/bash.
    Installation files and README are in /opt/install
    
%labels
    Name quantum-espresso_bash
    System debian:trixie
    Date mer. 15 oct. 2025 12:52:38 CEST
    Creator /usr/bin/deb2apptainer
    Command /bin/bash
