1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/bash # Copyright (c) 2020 Johannes Stoelp image=${1:-match-box} script_dir=$(readlink -f $(dirname $0)) if ! docker build -t $image $script_dir ; then echo "ERR: Failed to build docker image!" exit 1 fi exit 0