2018-04-26 00:48:41 +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:
|
2019-01-03 17:09:12 +08:00
|
|
|
# ./scripts/docker-run.sh ./scripts/build-tools.sh
|
2018-04-26 00:48:41 +08:00
|
|
|
|
2018-11-06 14:51:26 +08:00
|
|
|
docker run -i -v `pwd`:/home/sof/work/sof.git \
|
2018-04-26 00:48:41 +08:00
|
|
|
--user `id -u` sof $@
|