# created by /usr/bin/deb2apptainer on jeu. 09 oct. 2025 15:47:43 CEST
#
# Singularity/Apptainer image gwyddion
#
# build: apptainer build gwyddion.sif
# run:   apptainer run   gwyddion.sif

Bootstrap: docker
From: debian:trixie

%files
    apt/  /opt/install/
    README /opt/install/
    file_list.txt /opt/install/
    gwyddion.def /opt/install/
    
    

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