Skip to content
Snippets Groups Projects
Verified Commit 220f0ecf authored by Laurent Modolo's avatar Laurent Modolo
Browse files

file_handle: add singularity files

parent 870693e5
No related branches found
No related tags found
No related merge requests found
#/bin/sh
sudo singularity build --force bin/file_handle:0.1.1.sif src/singularity_modules/file_handle/0.1.1/file_handle.def
singularity sign bin/file_handle:0.1.1.sif
Bootstrap: docker
From: ubuntu:18.04
%labels
MAINTAINER Laurent Modolo
%post
FILE_HANDLE_VERSION=0.1.1
PACKAGES="git \
ca-certificates "
apt-get update && \
apt-get install -y --no-install-recommends ${PACKAGES} && \
apt-get clean
git clone https://github.com/LBMC/file_handle.git && \
cd file_handle && \
git checkout tags/v${FILE_HANDLE_VERSION} && \
cp src/file_handle.py /usr/bin/file_handle.py && \
chmod +x /usr/bin/file_handle.py
%environment
export FILE_HANDLE_VERSION=0.1.1
%runscript
exec /bin/bash "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment