Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
olcf
container-builder
Commits
6d5d338c
Commit
6d5d338c
authored
Jan 31, 2018
by
AdamSimpson
Browse files
Fix disabling cache
parent
18c58a99
Pipeline
#11618
passed with stages
in 48 minutes and 51 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Builder/scripts/docker-builder-backend.sh
View file @
6d5d338c
...
...
@@ -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
Builder/scripts/singularity-builder-backend.sh
View file @
6d5d338c
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment