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