diff options
author | johannst <johannes.stoelp@gmail.com> | 2021-06-15 22:06:15 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2021-06-15 22:06:15 +0200 |
commit | 41e25701689a8d77190b2d8f890508b9c4f30c10 (patch) | |
tree | dd1e9bd36ccc6ae98d4c6604b50ce2be115e43a8 /docker/build.sh | |
parent | ea4fe397bfc0a78babc434151b77ef4b038ea003 (diff) | |
download | matcha-threads-41e25701689a8d77190b2d8f890508b9c4f30c10.tar.gz matcha-threads-41e25701689a8d77190b2d8f890508b9c4f30c10.zip |
docker: fix type and readlink/dirname order
Diffstat (limited to 'docker/build.sh')
-rwxr-xr-x | docker/build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/build.sh b/docker/build.sh index e40b83d..0344477 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -1,9 +1,9 @@ #!/bin/bash # Copyright (c) 2020 Johannes Stoelp -image=${1:-match-box} +image=${1:-matcha-box} -script_dir=$(readlink -f $(dirname $0)) +script_dir=$(dirname $(readlink -f $0)) if ! docker build -t $image $script_dir ; then echo "ERR: Failed to build docker image!" |