Commit 78f63541 authored by Adam Wujek's avatar Adam Wujek

test_master/build: improve docker_build.sh script

Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent 874643cb
#!/bin/bash
docker create --name build_cont arm-clang-coast:latest /bin/bash -c "cd diot-monimod/test_master/build; make clean; make -j9"
docker cp ../../../diot-monimod build_cont:/root/
docker start -a build_cont
docker cp build_cont:/root/diot-monimod/test_master/build/. .
docker rm build_cont
docker run --rm -it -v $(pwd)/../../:/root/diot-monimod arm-clang-coast:latest bash -c 'cd /root/diot-monimod/test_master/build && echo '"$@"' && make clean && make -j9'"$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment