Simple container to execute Bash scripts from URL (e.g. hosted on GitHub) in a Ubuntu Docker image.. Mainly used to download datasets for the Data2Services project.
See the Data2Services documentation to run d2s-bash-exec as part of workflows to generate RDF knowledge graph from structured data.
docker pull vemonet/d2s-bash-exec
docker build -t vemonet/d2s-bash-exec .
This command will download files in /data/data2services.
docker run -it --rm -v /data/data2services:/data vemonet/d2s-bash-exec https://raw.githubusercontent.com/MaastrichtU-IDS/data2services-download/master/datasets/stitch-sample/download.sh
You can provide an output directory as second parameter
docker run -it --rm -v /data/data2services:/tmp/download vemonet/d2s-bash-exec https://raw.githubusercontent.com/MaastrichtU-IDS/data2services-download/master/datasets/stitch-sample/download.sh /tmp/download
Shell scripts are executed to download each dataset. Add your own.
download.sh accordingly, you will find a lot of simple operations to download files already covered.$USERNAME and $PASSWORD variables if you need one.See the Wiki for more details on common Shell download operations.
Content type
Image
Digest
Size
95.9 MB
Last updated
over 6 years ago
docker pull vemonet/d2s-bash-exec