blob: b1e989cf21c2f410ac6c3667e751fe77e8d9d3cc [file] [log] [blame]
Dylan Reide3dfa4e2018-04-25 09:48:41 -07001#!/bin/sh
2
3# Runs a given script in the docker container you can generate from the
4# docker_build directory.
5# Example:
6# To build sof for baytrail:
7# ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh byt
8# To build topology:
9# ./scripts/docker-run.sh ./scripts/build_soft.sh
10
11docker run -it -v `pwd`:/home/sof/work/sof.git \
12 -v `pwd`/../soft.git:/home/sof/work/soft.git \
13 --user `id -u` sof $@