netcatninja/cookbook:2048

$ singularity pull shub://netcatninja/cookbook:2048

Singularity Recipe

BootStrap: docker
From: ubuntu:18.04

%help
    Get the elusive 2048 tile.

%runscript
    /opt/2048-cli/2048
    
%environment
    export LC_ALL=en_US.UTF-8
    export LANG=en_US.UTF-8
    export PATH=/opt/2048-cli:/usr/bin:/usr/local/sbin:/bin:/usr/local/bin:/usr/sbin:/sbin

%post
    apt-get -y update && apt-get install -y --no-install-recommends  \
    figlet gcc git lolcat libncurses5-dev make
    git clone https://github.com/tiehuis/2048-cli.git /opt/2048-cli
    cd /opt/2048-cli
    make
    /usr/bin/figlet "hello, world" | /usr/games/lolcat
    /usr/bin/figlet "Let's play 2048..." | /usr/games/lolcat
    /usr/bin/figlet "...in a container!" | /usr/games/lolcat

%labels
    Author Brie Carranza

Collection


View on Datalad

Metrics

key value
id /containers/netcatninja-cookbook-2048
collection name netcatninja/cookbook
branch master
tag 2048
commit 6480510861738230d2fec299367e6c2d7218ba90
version (container hash) e05bb89300ffcc1c4f17f2c2fa95e88f
build date 2019-05-10T10:48:53.374Z
size (MB) 313
size (bytes) 116015135
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.