From 6d5d338c8f9e970b9909b5d28e11f515896925fd Mon Sep 17 00:00:00 2001 From: AdamSimpson Date: Wed, 31 Jan 2018 19:57:05 -0500 Subject: [PATCH] Fix disabling cache --- Builder/scripts/docker-builder-backend.sh | 2 +- Builder/scripts/singularity-builder-backend.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Builder/scripts/docker-builder-backend.sh b/Builder/scripts/docker-builder-backend.sh index 2b111ce..ad331fd 100755 --- a/Builder/scripts/docker-builder-backend.sh +++ b/Builder/scripts/docker-builder-backend.sh @@ -34,5 +34,5 @@ docker ${DEBUG_FLAG} build -t localhost:5000/docker_image . docker ${DEBUG_FLAG} push localhost:5000/docker_image # Build the singularity container from the docker image -export SINGULARITY_DISABLE_CACHE=1 +export SINGULARITY_DISABLE_CACHE=True singularity ${DEBUG_FLAG} pull --name container.simg docker://localhost:5000/docker_image \ No newline at end of file diff --git a/Builder/scripts/singularity-builder-backend.sh b/Builder/scripts/singularity-builder-backend.sh index 397665b..452dcbb 100755 --- a/Builder/scripts/singularity-builder-backend.sh +++ b/Builder/scripts/singularity-builder-backend.sh @@ -37,5 +37,5 @@ if [[ ${GREP_RC} -eq 0 ]] ; then export SINGULARITY_DOCKER_PASSWORD=${DOCKERHUB_READONLY_TOKEN} fi -export SINGULARITY_DISABLE_CACHE=1 +export SINGULARITY_DISABLE_CACHE=True /usr/bin/unbuffer /usr/local/bin/singularity ${DEBUG_FLAG} build ./container.simg ./container.def \ No newline at end of file