Use script dir instead of referencing a relative path for project root (fixes #3)
This commit is contained in:
Родитель
ca13a1bc8e
Коммит
c62f255a31
|
@ -1,4 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker build -t xgboost:latest - < ./scripts/Dockerfile-xgboost
|
||||
docker build -t xgboost-testing:latest - < ./scripts/Dockerfile-testing
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
||||
|
||||
docker build -t xgboost:latest - < "$DIR/Dockerfile-xgboost"
|
||||
docker build -t xgboost-testing:latest - < "$DIR/Dockerfile-testing"
|
||||
|
|
Загрузка…
Ссылка в новой задаче