aboutsummaryrefslogtreecommitdiff
path: root/docker/build.sh
blob: e40b83d55909f114592738b9793aa7452e86ba16 (plain) (blame)
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