globalbioticinteractions / nomer

maps identifiers and names to other identifiers and names
GNU General Public License v3.0
19 stars 3 forks source link

package nomer / nomer corpus as apptainer (formerly singularity) #169

Open jhpoelen opened 1 year ago

jhpoelen commented 1 year ago

https://apptainer.org/docs/user/latest/introduction.html#why-use-apptainer

via https://www.linuxfoundation.org/press/linux-foundation-announces-intent-to-form-high-performance-software-foundation-hpsf -

... Apptainer: a container system and image format specifically designed for secure high-performance computing. ...

jhpoelen commented 5 months ago

Here's a possible configuration of an apptainer definition for nomer.

To be built with something like:

apptainer build nomer.sif nomer.def

and run with

./nomer.sif version
BootStrap: docker
From: eclipse-temurin:8u412-b08-jdk-ubi9-minimal

%files
  nomer/target/lib/*.jar /usr/share/nomer/lib/
  nomer.jar /usr/share/nomer/lib/

%runscript
  java -Xmx4G -XX:+UseG1GC -cp "/usr/share/nomer/lib/*" org.globalbioticinteractions.nomer.Nomer $@

%help
  This is a demo container showing a containerized version of nomer.