aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-06-15 22:06:15 +0200
committerjohannst <johannes.stoelp@gmail.com>2021-06-15 22:06:15 +0200
commit41e25701689a8d77190b2d8f890508b9c4f30c10 (patch)
treedd1e9bd36ccc6ae98d4c6604b50ce2be115e43a8
parentea4fe397bfc0a78babc434151b77ef4b038ea003 (diff)
downloadmatcha-threads-41e25701689a8d77190b2d8f890508b9c4f30c10.tar.gz
matcha-threads-41e25701689a8d77190b2d8f890508b9c4f30c10.zip
docker: fix type and readlink/dirname order
-rwxr-xr-xdocker/build.sh4
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!"