From bedeea5750238fa7eb31cf47ff40b27ccdc3a1f3 Mon Sep 17 00:00:00 2001 From: Yuji Yamamoto Date: Sat, 22 Apr 2017 23:32:28 +0900 Subject: [PATCH] More simply resolve Dockerfile path --- docker/setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/setup b/docker/setup index 2f67e97..5dbf228 100755 --- a/docker/setup +++ b/docker/setup @@ -1,5 +1,5 @@ #!/bin/sh -DOCKER_DIR=$(realpath $(dirname "$0")) +cd "$(dirname "$0")" -docker build -f "$DOCKER_DIR/Dockerfile" -t viewprof . +docker build -t viewprof .