nuitrcs/tesseract:v400-beta
$ singularity pull shub://nuitrcs/tesseract:v400-beta
Singularity Recipe
Bootstrap: docker
# Choose Linux distribution to bootstrap
From: ubuntu:18.04 # (ubuntu Xenial)
# From: ubuntu:14.04 # (ubuntu Trusty)
# From: ubuntu:18.04 # (ubuntu Bionic Beaver)
# From: fedora:latest
# From: alpine:latest
%environment
# Set system locale
export LC_ALL=C
%post
# ------------------------------------------------ #
# Package installation section #
# #
# Use for installing packages "system-wide" in #
# the container. Linux uses `apt-get` to install. #
# #
# NOTE: Alpine Linux uses the `apk` tool, NOT #
# `apt-get` (https://bit.ly/2rfQHzp) #
# #
# NOTE: Fedora uses the `yum` tool, NOT #
# `apt-get` (https://bit.ly/2vnkRUu) #
# ------------------------------------------------ #
# UBUNTU: update apt-get's pacakge list and upgrade will install newer
# versions of the pacakges already installed.
apt-get -y update && apt-get -y upgrade
apt-get -y --allow-unauthenticated install \
apt-utils \
tesseract-ocr \
libtesseract-dev
# (other packages you may find useful)
#autoconf \
#automake \
#gfortran \
#python-dev \
#python-pip \
#python-tk \
#python-wheel \
#python3-dev \
#python3-pip \
#python3-wheel \
#zlib1g-dev
# ------------------------------------------------ #
# ETC... #
# Set default OS + Singularity settings #
# ------------------------------------------------ #
# (Mount /software dir bind point for Quest)
mkdir /software
# (Set bash Bourne shell as default shell)
SHELL=/bin/bash
# ------------------------------------------------ #
# Install extraneous software #
# ------------------------------------------------ #
# (Install Miniconda python package manager 2 or 3)
#MINICONDA_VERSION='3' # change to '2' for Python 2.7 Miniconda
#wget -P /opt 'https://repo.continuum.io/miniconda/Miniconda'$MINICONDA_VERSION'-latest-Linux-x86_64.sh'
#bash /opt/Miniconda*.sh -b -p /opt/anaconda
#rm /opt/Miniconda*.sh
#echo 'export PATH="/opt/anaconda/bin:$PATH"' >> $SINGULARITY_ENVIRONMENT
%test
if [ -f /usr/lib/os-release ]; then
cat /usr/lib/os-release
fi
%files
%runscript
%environment
Collection
- Name: nuitrcs/tesseract
- License: MIT License
View on Datalad
Metrics
key | value |
---|---|
id | /containers/nuitrcs-tesseract-v400-beta |
collection name | nuitrcs/tesseract |
branch | master |
tag | v400-beta |
commit | 799fb86e1147225774fcbfd3e5c755b55235e01a |
version (container hash) | 18b72f7f53487160f9b694cb4a2ccfe7 |
build date | 2018-10-19T18:21:08.392Z |
size (MB) | 209 |
size (bytes) | 95113247 |
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.