From f30db3239fdb0c134b76ef75e780bf014b4a0342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20B=C3=BCtow?= Date: Thu, 27 Dec 2018 07:01:54 +0000 Subject: move docker build volume to ./docker --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e3cc8e1..badf2b5 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ KERNEL ?= $(shell uname -r) DESTDIR=/opt/ioriot +PWD=$(shell pwd) all: $(MAKE) -C systemtap $(MAKE) -C ioriot @@ -23,5 +24,5 @@ test: dockerbuild: sed s/KERNEL/$(KERNEL)/ Dockerfile.in > Dockerfile docker build . -t ioriot:$(KERNEL) - bash -c 'test ! -d /tmp/docker/opt/ && mkdir -p /tmp/docker/opt/; exit 0' - docker run -v /tmp/docker/opt:/opt -v /tmp/docker/downloads:/ioriot/systemtap/downloads -e 'KERNEL=$(KERNEL)' -it ioriot:$(KERNEL) make all install + bash -c 'test ! -d $(PWD)/docker/opt/ && mkdir -p $(PWD)/docker/opt/; exit 0' + docker run -v $(PWD)/docker/opt:/opt -e 'KERNEL=$(KERNEL)' -it ioriot:$(KERNEL) make all install -- cgit v1.2.3