gopkg.in/openshift/source-to-image.v1@v1.2.0/hack/build-base-images.sh (about) 1 #!/bin/bash 2 3 # This script builds release images for use by the release build. 4 # 5 # Set S2I_IMAGE_PUSH=true to push images to a registry 6 # 7 8 set -o errexit 9 set -o nounset 10 set -o pipefail 11 12 S2I_ROOT=$(dirname "${BASH_SOURCE}")/.. 13 source "${S2I_ROOT}/hack/common.sh" 14 15 # Go to the top of the tree. 16 cd "${S2I_ROOT}" 17 18 # Build the images 19 docker build --tag openshift/sti-release "${S2I_ROOT}/images/release"