1
0

Use relative path for bootstrap script

This commit is contained in:
dump_stack() 2019-02-06 06:29:08 +00:00
parent c3af494fa8
commit cf75f4424d
2 changed files with 3 additions and 3 deletions

View File

@ -21,9 +21,7 @@ env:
install: true install: true
before_script: before_script:
- cd $GOPATH/src/code.dumpstack.io/tools/out-of-tree/tools/qemu-debian-img - tools/out-of-tree/bootstrap.sh
- ./bootstrap.sh
- cd $GOPATH/src/code.dumpstack.io/tools/out-of-tree
script: script:
- go test -parallel 1 -v ./... - go test -parallel 1 -v ./...

View File

@ -1,4 +1,6 @@
#!/bin/sh -eux #!/bin/sh -eux
cd $(dirname $(realpath $0))
docker build -t gen-ubuntu1804-image . docker build -t gen-ubuntu1804-image .
docker run --privileged -v $(pwd):/shared -t gen-ubuntu1804-image docker run --privileged -v $(pwd):/shared -t gen-ubuntu1804-image
RUN="docker run -v $(pwd):/shared -t gen-ubuntu1804-image" RUN="docker run -v $(pwd):/shared -t gen-ubuntu1804-image"