aboutsummaryrefslogblamecommitdiff
path: root/docker/build.sh
blob: 3b374e616d476868c2fd3c5ee2d45f8286338c5c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                    


                                    




                                             
#!/bin/bash
# Copyright (c) 2020 Johannes Stoelp

image=${1:-match-box}

if ! docker build -t $image . ; then
    echo "ERR: Failed to build docker image!"
    exit 1
fi

exit 0