# created by /usr/bin/deb2apptainer on mer. 15 oct. 2025 12:53:16 CEST
#
# Singularity/Apptainer image relion-gui_relion
#
# build: apptainer build relion-gui_relion.sif
# run:   apptainer run   relion-gui_relion.sif

Bootstrap: docker
From: debian:trixie

%files
    apt/  /opt/install/
    README /opt/install/
    file_list.txt /opt/install/
    relion-gui_relion.def /opt/install/
    
    

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