summaryrefslogtreecommitdiff
path: root/share/spack/docker/entrypoint.bash
diff options
context:
space:
mode:
Diffstat (limited to 'share/spack/docker/entrypoint.bash')
-rwxr-xr-xshare/spack/docker/entrypoint.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/spack/docker/entrypoint.bash b/share/spack/docker/entrypoint.bash
index 58d6281084..b4b3890144 100755
--- a/share/spack/docker/entrypoint.bash
+++ b/share/spack/docker/entrypoint.bash
@@ -5,6 +5,8 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+unset CURRENTLY_BUILDING_DOCKER_IMAGE
+
if [ "$1" '=' 'docker-shell' ] ; then
if [ -t 0 ] ; then
exec bash -il