blob: fbe3d1a1765851ff9f6332fb653255c5b8496a16 [file] [log] [blame]
Dan Ruef51ede72017-06-07 16:50:33 -05001#!/bin/sh
2
3set -e
4
5if [ -z "$1" ] || [ ! -e "test/Dockerfile.${1}" ]; then
6 echo "USAGE: $0 [debian|centos]"
7 exit 1
8fi
9
10python3 validate.py -g -s SC1091
11docker build -f test/Dockerfile."${1}" -t erp-"${1}" . && docker run --rm -it -v "$(pwd)":/work erp-"${1}"
12