#!/bin/bash set -o errexit set -o nounset set -o pipefail cd $WORKSPACE app=nolabs-verify-${BUILD_ID} echo "Building the container image nolabs-verify-${BUILD_ID}" echo "-------------------------------------------------------------------------" docker build -t $app . echo "-------------------------------------------------------------------------" echo "Build successful!" docker rmi -f $app > /dev/null