From 5d1820098f55f7ad8bb026f5fb3e38589e45ce15 Mon Sep 17 00:00:00 2001
From: Sylvester Joosten <sjoosten@anl.gov>
Date: Fri, 24 Jul 2020 15:26:00 -0500
Subject: [PATCH] Make sure BINARY_TAG is set

---
 containers/builder/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/containers/builder/Dockerfile b/containers/builder/Dockerfile
index 100520e41..87702c47f 100644
--- a/containers/builder/Dockerfile
+++ b/containers/builder/Dockerfile
@@ -49,7 +49,8 @@ RUN find -L /opt/view/* -type f -exec readlink -f '{}' \; | \
 
 # Modifications to the environment that are necessary to run
 RUN cd /opt/spack-environment && \
-    spack env activate --sh -d . >> /etc/profile.d/z10_spack_environment.sh
+    spack env activate --sh -d . >> /etc/profile.d/z10_spack_environment.sh && \
+    echo "export BINARY_TAG=x86_64-linux-gcc9-opt" >> /etc/profile.d/z10_spack_environment.sh
 
 ENTRYPOINT ["/bin/bash", "--rcfile", "/etc/profile", "-l", "-c"]
 CMD ["bash"]
-- 
GitLab