mirror of
https://github.com/xemu-project/xemu-test.git
synced 2024-11-23 09:59:38 +00:00
15 lines
283 B
Bash
15 lines
283 B
Bash
#!/bin/bash
|
|
if [[ ! -d xemutest ]]; then
|
|
echo "Run from root dir"
|
|
exit 1
|
|
fi
|
|
|
|
set -ex
|
|
target=data
|
|
image=xemu-test-data-tmp-img
|
|
docker build --target $target -t $image .
|
|
container=$(docker create $image "")
|
|
docker cp $container:/data xemutest/
|
|
docker rm $container
|
|
docker rmi $image
|