mirror of
https://github.com/corda/corda.git
synced 2024-12-30 17:57:02 +00:00
13 lines
256 B
Bash
13 lines
256 B
Bash
|
#!/bin/bash
|
||
|
set -euo pipefail
|
||
|
|
||
|
if [ $# -ne 1 ]; then
|
||
|
echo "Usage: build_in_image.sh <DOCKER_IMAGE>"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
IMAGE=$1
|
||
|
DOCKER_BUILD_DIR=/tmp/corda-sgx-build
|
||
|
|
||
|
exec docker run -v $PWD/../..:$DOCKER_BUILD_DIR $IMAGE make -C $DOCKER_BUILD_DIR/sgx-jvm
|