blob: 0e455382aa57936ea36ae4f3e754cfd7a637c076 [file] [log] [blame]
#!/bin/bash
set -o xtrace
# asserts_image() - Function that verifies if a specific image was created
function asserts_image {
if [[ "$(docker images -q $1 2> /dev/null)" == "" ]]; then
echo "There is no $1 image"
exit 1
fi
}