Fix REPO_DIR assignment in build.sh to use relative path for improved portability
This commit is contained in:
1 parent
59f0f68a94
commit
27c860a793
1 file changed
+1
-1
+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