Fix REPO_DIR assignment in build.sh to use relative path for improved portability
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
REPO_DIR="$(git rev-parse --show-toplevel)"
|
||||
REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
|
||||
if command -v container 2>/dev/null; then
|
||||
container build -t "registry.koszewscy.waw.pl/openldap:latest" "$REPO_DIR"
|
||||
|
||||
Reference in New Issue
Block a user