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 +++-- README.md | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) 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 diff --git a/README.md b/README.md index fe61829..3851a3d 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ I/O Riot depends on SystemTap and a compatible version of the Linux Kernel. To g Check out the [I/O Riot usage guide](docs/markdown/usage.md) for a full usage workflow demonstration. +# Appendix ## Supported file systems -- cgit v1.2.3