summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Bütow <pbuetow@mimecast.com>2018-12-27 07:01:54 +0000
committerPaul Bütow <pbuetow@mimecast.com>2018-12-27 07:01:54 +0000
commitf30db3239fdb0c134b76ef75e780bf014b4a0342 (patch)
treec4c7e264bb53b9cab1568a117ee84285fb712314
parentcd5d869ef07d6b719dd09780145ea525ac437fc6 (diff)
move docker build volume to ./docker
-rw-r--r--Makefile5
-rw-r--r--README.md1
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