mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
add script to run commands in the avian docker container
This commit is contained in:
parent
50bca071b2
commit
a0e7ed64d0
10
docker-build.sh
Executable file
10
docker-build.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo "Usage: $0 <command_to_run_in_docker>"
|
||||
echo "Ex: $0 make test"
|
||||
echo "Ex: $0 ./test/ci.sh"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
docker run --rm -i -t -v $(cd $(dirname "$0") && pwd):/var/avian -u $(id -u "${USER}") joshuawarner32/avian-build "${@}"
|
Loading…
Reference in New Issue
Block a user