summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0784785..ac19433 100644
--- a/Makefile
+++ b/Makefile
@@ -23,4 +23,5 @@ test:
dockerbuild:
sed s/KERNELVERSION/$(KERNEL)/ Dockerfile.in > Dockerfile
docker build . -t ioriot:$(KERNEL)
- docker run -it ioriot:$(KERNEL) --entrypoint /bin/bash -c 'make'
+ bash -c 'test ! -d /tmp/docker/opt/ && mkdir -p /tmp/docker/opt/; exit 0'
+ docker run -v /tmp/docker/opt:/opt -it ioriot:$(KERNEL) make all install