Skip to content
Snippets Groups Projects
Select Git revision
  • 50750cd8a24a472b0ced9055ac0500ffc0a231a4
  • master default protected
  • replication_test
  • dev protected
  • release-1.10 protected
  • release-1.9 protected
  • 551-init-broker-service-permissions
  • 549-test-oai-pmh
  • 545-saving-multiple-times-breaks-pid-metadata
  • 499-standalone-compute-service-2
  • 539-load-tests
  • hotfix/helm-chart
  • luca_ba_new_interface
  • 534-bug-when-adding-access-to-user-that-is-not-registered-at-dashboard-service
  • release-1.8 protected
  • 533-integrate-semantic-recommendation
  • feature/openshift
  • 518-spark-doesn-t-map-the-headers-correct
  • 485-fixity-checks
  • 530-various-schema-problems-with-subsets
  • release-1.7 protected
  • v1.10.2 protected
  • v1.10.1 protected
  • v1.10.0-rc13 protected
  • v1.10.0-rc12 protected
  • v1.10.0-rc11 protected
  • v1.10.0-rc10 protected
  • v1.10.0-rc9 protected
  • v1.10.0-rc8 protected
  • v1.10.0-rc7 protected
  • v1.10.0-rc6 protected
  • v1.10.0-rc5 protected
  • v1.10.0-rc4 protected
  • v1.10.0-rc3 protected
  • v1.10.0-rc2 protected
  • v1.10.0rc1 protected
  • v1.10.0rc0 protected
  • v1.10.0 protected
  • v1.9.3 protected
  • v1.9.2 protected
  • v1.9.2-rc0 protected
41 results

README.md

Blame
  • Singularity.micromamba.py39.eccodes 1014 B
    Bootstrap: docker
    From: mambaorg/micromamba:latest
    
    %labels
        maintainer IT-IMGW <it.img-wien@univie.ac.at>
        python 3.9.13
        eccodes 2.27.0
    
    %files
        ./runscript /.singularity.d/runscript
        ./run-help /.singularity.d/runscript.help
    
    %post
        micromamba -q install -y -n base -c conda-forge eccodes=2.27.0 python=3.9.13 &&
        /opt/conda/bin/pip install eccodes && /opt/conda/bin/pip cache purge &&
        micromamba clean --all --yes
        # command prompt name
        CNAME=m.eccodes
        # does not work goes into /.singularity.d/env/91-environment.sh 
        echo "export PS1=\"[IMGW-$CNAME]\w\$ \"" >> /.singularity.d/env/99-zz-custom-env.sh
        # add some labels
        echo "libc $(ldd --version | head -n1 | cut -d' ' -f4)" >> "$SINGULARITY_LABELS"
        echo "linux $(cat /etc/os-release | grep PRETTY_NAME | cut -d'=' -f2)" >> "$SINGULARITY_LABELS"
    
    %test
        python -m eccodes selfcheck
    
    %environment
        export PATH=/opt/conda/bin:$PATH
        export LIBRARY=/opt/conda/lib
        export INCLUDE=/opt/conda/include