2018-10-12 13:19:48 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Runs a given script in the docker container you can generate from the
|
|
|
|
# docker_build directory.
|
|
|
|
# Example:
|
|
|
|
# To build sof for baytrail:
|
|
|
|
# ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh byt
|
|
|
|
# To build topology:
|
|
|
|
# ./scripts/docker-run.sh ./scripts/build_soft.sh
|
|
|
|
|
2018-11-06 14:51:26 +08:00
|
|
|
docker run -i --privileged -v `pwd`:/home/sof/sof.git \
|
2018-10-12 13:19:48 +08:00
|
|
|
-v `pwd`/../soft.git:/home/sof/soft.git \
|
|
|
|
--user `id -u` sofqemu $@
|