2 Commits
v1.4 ... master

Author SHA1 Message Date
circulosmeos
79449ab6c0 readme updated with Singularity example 2019-06-29 20:05:15 +02:00
Thomas Brunner
3b60e399f8 Create a Singularity file with gdown.pl (#15) 2019-06-29 19:39:08 +02:00
2 changed files with 30 additions and 3 deletions

View File

@@ -36,13 +36,26 @@ This version is **v1.4**.
### Warning
Please, note that v1.2 (available between days 12 to 31 of Jan/2019) **should not be used**, as it contains a bug that could result in unusable downloaded files. Proceed to overwrite with v1.3 in case you have it.
Please, note that v1.2 (available between days 12 to 31 of Jan/2019) **should not be used**, as it contains a bug that could result in unusable downloaded files. Proceed to overwrite with v1.4 in case you have it.
Docker
======
A simple Docker file is provided, to build a simple Docker image with gdown.pl.
This has been used for pre-pulling data from a Google Drive to Kubernetes persistent volumes. Thanks @anton-khodak
A simple Docker file is provided, to build a simple Docker image with gdown.pl.
This has been used for pre-pulling data from a Google Drive to Kubernetes persistent volumes.
Thanks @anton-khodak
Singularity
===========
An example [Singularity](https://sylabs.io/guides/3.2/user-guide/quick_start.html) file is provided.
Build the container:
`sudo singularity build (imagename) Singularity`
Run the container:
`singularity run (imagename) (gdown.pl args)`
Thanks to @ttbrunner
License
=======

14
Singularity Normal file
View File

@@ -0,0 +1,14 @@
BootStrap: docker
FROM: perl
# This is the script that's executed when you don't call it with any script or shell to execute.
%runscript
exec /usr/local/bin/gdown.pl "$@"
%setup
cp gdown.pl ${SINGULARITY_ROOTFS}/usr/local/bin/
# These commands will be executed inside of the container during building.
%post
apt-get update
apt install -y wget