From cd35ad86cb9cf2fbaef3e8fa2103b55127ac0d0a Mon Sep 17 00:00:00 2001 From: Pierre Sauvage Date: Fri, 24 Nov 2023 11:46:22 +0100 Subject: [PATCH] feat(build-env): normalize start script --- bin/start-build-env.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/start-build-env.sh b/bin/start-build-env.sh index 2310444..0f1aed1 100755 --- a/bin/start-build-env.sh +++ b/bin/start-build-env.sh @@ -1,4 +1,7 @@ -DOCKER_DIR=./build-env +#!/usr/bin/env bash + +SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +DOCKER_DIR=$(cd $SCRIPT_DIR/../build-env && pwd ) docker build -t tdp-builder "$DOCKER_DIR"