netcatninja/2048:latest

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

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-2048-latest
collection name netcatninja/2048
branch master
tag latest
commit acca75d8e2afd96a8469b812b0a62c6120414c26
version (container hash) 686b5cde80b002cd55317a522628547b
build date 2019-04-26T11:40:34.649Z
size (MB) 313
size (bytes) 115855391
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.