From f5893031991560fc842415e62194f9cb3821c86c Mon Sep 17 00:00:00 2001
From: Nicolas Richart <nicolas.richart@epfl.ch>
Date: Mon, 22 Jan 2024 15:18:47 +0100
Subject: [PATCH] Avoiding interaction with host system with apptainer

---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a8f4b2d..5f3367f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,6 +16,8 @@ workflow:
 
 variables:
   BUILDCACHE: /scratch/richart/buildcache
+  SPACK_DISABLE_LOCAL_CONFIG: true
+  SPACK_USER_CACHE_PATH: /tmp/spack_cache
 
 # ------------------------------------------------------------------------------
 .parallel_job:
-- 
GitLab