diff options
Diffstat (limited to 'share/spack/packages/build-image.sh')
-rwxr-xr-x | share/spack/packages/build-image.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/share/spack/packages/build-image.sh b/share/spack/packages/build-image.sh deleted file mode 100755 index adde5842ab..0000000000 --- a/share/spack/packages/build-image.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other -# Spack Project Developers. See the top-level COPYRIGHT file for details. -# -# SPDX-License-Identifier: (Apache-2.0 OR MIT) - -script="$( basename "$0" )" -cd "$( dirname "$0" )" - -export IMAGE="spack/packages.spack.io:latest" - -if [ "$script" '=' 'push-image.sh' ] ; then - docker push "${IMAGE}" -else - docker build --no-cache --force-rm -t "${IMAGE}" . -fi |