#!/bin/bash # build the image (i.e. 'mocha suv init' ) docker build -t mocha-httpd -f mocha-suv/docker/Dockerfile . if [ $? -ne 0 ]; then echo "'docker build' failed; is it properly installed?" exit 2 fi