Commit b41f99d9 authored by Jan Hoeckesfeld's avatar Jan Hoeckesfeld
Browse files

upload singularity images to hilbert script

parent fd51d77f
...@@ -8,4 +8,6 @@ __pycache__/ ...@@ -8,4 +8,6 @@ __pycache__/
benchmarks/ benchmarks/
logs/ logs/
report/ report/
clusterLogs/ clusterLogs/
\ No newline at end of file
.env
\ No newline at end of file
#!/bin/sh
# needs .env file with params:
# DOCKERFILE
# DOCKER_HUB
# PROJECT_DIR
# FILE_SERVER
if test -f ".env";
then
export $(cat .env | xargs)
fi
sum=$(echo -n ${DOCKER_HUB} | md5sum | awk '{print $1}')
docker image build -t local/ckmertools_docker:latest "${DOCKERFILE}"
singularity build "${sum}.simg" docker-daemon://local/ckmertools_docker:latest
echo "upload the file to: "
echo "scp ./${sum}.simg ${FILE_SERVER}:${PROJECT_DIR}/.snakemake/singularity"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment