Skip to content

Commit 94fff43

Browse files
committed
Adds environment variable support to Docker run script
Updates the Docker run script to pass environment variables (CMAKE_BUILD_TYPE, PRIVATE_KEY_OPTION, USE_XARGS) to the container. Improves configurability and flexibility during container runtime. Signed-off-by: Christopher Turner <christopher.g.turner@intel.com>
1 parent 110376e commit 94fff43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/docker-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ test "$(id -u)" = 1000 ||
3535
set -x
3636
docker run -i -v "${SOF_TOP}":/home/sof/work/sof.git \
3737
-v "${SOF_TOP}":/home/sof/work/sof-bind-mount-DO-NOT-DELETE \
38-
--user 1000:1000
38+
--user 1000:1000 \
3939
--env CMAKE_BUILD_TYPE \
4040
--env PRIVATE_KEY_OPTION \
4141
--env USE_XARGS \

0 commit comments

Comments
 (0)