aboutsummaryrefslogblamecommitdiff
path: root/docker/build.sh
blob: 03444775165a5b3e87c9a866829812a38b67c2e2 (plain) (tree)
1
2
3
4
5
6
7
8


                                    
                      
 
                                       

                                              




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

image=${1:-matcha-box}

script_dir=$(dirname $(readlink -f $0))

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

exit 0