From 5861ad145e45e8db20322acdfc697a175e34a27a Mon Sep 17 00:00:00 2001
From: Whitney Armstrong <warmstrong@anl.gov>
Date: Tue, 26 May 2020 16:52:52 -0500
Subject: [PATCH] 	modified:   .gitlabci/build.sh

---
 .gitlabci/build.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlabci/build.sh b/.gitlabci/build.sh
index 78f3fd278..28373ba77 100644
--- a/.gitlabci/build.sh
+++ b/.gitlabci/build.sh
@@ -132,7 +132,9 @@ if [ -f "$recipe" ]; then
     imagefile="`basename ${recipe} .def`.sif"
 
     echo "Creating $imagefile using $recipe..."
-    singularity build $imagefile $recipe
+    mkdir -p $HOME/tmp
+    
+    TMPDIR=$HOME/tmp singularity build $imagefile $recipe
 
     # If the image is successfully built, test it and upload (examples)
   
-- 
GitLab