SingularityApp.hello-world-go
%apprun hello-world-go
    exec hello-world.go
%appenv hello-world-go
    GOROOT=/scif/apps/go
    export GOROOT
%appfiles hello-world-go
    hello-world.go
%appinstall hello-world-go
    wget https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz
    tar --strip-components=1 -zxf go1.8.3.linux-amd64.tar.gz
    bin/go build hello-world.go && mv hello-world bin/hello-world.go

Date: Sep 15, 2017

Author: Vanessa Sochat

Tags: scif singularity ubuntu debian go

Files:

About

Singularity Apps are modular SCI-F apps that can be added as helpers or wrappers for Singularity containers