serheang/sc_katacoda:latest
$ singularity pull shub://serheang/sc_katacoda:latest
Singularity Recipe
bootstrap: docker
from:alpine:latest
%labels
MAINTAINER Ser Heang TAN <serheang+git@gmail.com>
WHATAMI katacoda
VERSION 1.0
%help
This is a container to run katacoda cli. You just need to run the sif.
For example:
singularity run katacoda.sif
OR
katacoda.sif
%environment
export OS=$(sed -n -e 's/^ID=//p' /etc/os-release)
export VERSION=$(sed -n -e 's/^VERSION_ID=//p' /etc/os-release)
export LC_ALL=C
export PATH=/usr/local/bin:$PATH
%post
apk update
apk add npm
## Get katacoda-cli via npm
npm install katacoda-cli --global
## CLEANUP
%runscript
echo "Running katacoda in ${OS}-${VERSION} container"
katacoda $@
Collection
- Name: serheang/sc_katacoda
- License: MIT License
View on Datalad
Metrics
key | value |
---|---|
id | /containers/serheang-sc_katacoda-latest |
collection name | serheang/sc_katacoda |
branch | master |
tag | latest |
commit | ffc6b1336796a8ffd63bafd3899a42f8d4dac741 |
version (container hash) | e1a3b93c47f84c53cee807ac500c473d |
build date | 2019-09-27T03:21:53.820Z |
size (MB) | 179.0 |
size (bytes) | 38809631 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.