mirror of https://github.com/thesofproject/sof.git
14 lines
418 B
Bash
14 lines
418 B
Bash
|
#!/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
|
||
|
|
||
|
docker run -it -v `pwd`:/home/sof/work/sof.git \
|
||
|
-v `pwd`/../soft.git:/home/sof/work/soft.git \
|
||
|
--user `id -u` sof $@
|