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