#!/bin/sh set -eset -o xtrace IMAGE_NAME=hack-the-game-v002 # clean old imagesOLD_IMAGES=$(docker images $IMAGE_NAME -q --no-trunc)if [ -n "${OLD_IMAGES}" ]; then docker rmi -f ${OLD_IMAGES};fi #Build Imagesdocker build . -t $IMAGE_NAME