netcatninja/wordcloud:latest

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

Singularity Recipe

BootStrap: docker
From: ubuntu:18.04

%help
    Install Python 3.6 and make a word cloud

%runscript
    /opt/python3/bin/python3.6 -V
    echo "We are going to make a word cloud."
    echo "Text: $1"
    echo "Image: $2"
    /opt/python3/bin/wordcloud_cli --text $1 --imagefile $2 
    curl --upload-file $2 https://transfer.sh
    
%environment
    export LC_ALL=en_US.UTF-8
    export LANG=en_US.UTF-8
    export PATH=/opt/python3/bin:/usr/bin:/usr/local/sbin:/bin:/usr/local/bin:/usr/sbin:/sbin

%post
    apt-get -y update && apt-get install -y --no-install-recommends  \
    build-essential ca-certificates curl git libssl-dev lolcat wget zlib1g-dev
    cd /opt && wget https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz && \
    tar xf Python-3.6.8.tar.xz && cd Python-3.6.8 && ./configure --prefix=/opt/python3 && \
    make && make altinstall && ln -s /opt/python3/bin/python3.6 /opt/python3/bin/python3
    /opt/python3/bin/pip3.6 install wordcloud

%labels
    Author Brie Carranza

Collection


View on Datalad

Metrics

key value
id /containers/netcatninja-wordcloud-latest
collection name netcatninja/wordcloud
branch master
tag latest
commit 692dec99c7e283caadc4b22bbdc0f97e8d8c8fd6
version (container hash) 20fc0a25f66e3dce529f82b62594f12d
build date 2019-04-29T05:02:48.477Z
size (MB) 858
size (bytes) 259928095
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.