aboutsummaryrefslogtreecommitdiff
path: root/run-image.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-11-18 10:05:27 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-11-18 10:05:27 -0500
commitaa7e99e130b47caebaacd24e6d9e4f89f42cd213 (patch)
tree5b599c731389e0b259b840710f8db1ffe9913181 /run-image.sh
parent79a4dcec2e34c5d58ab0661146ee9727452d672b (diff)
downloadspm-aa7e99e130b47caebaacd24e6d9e4f89f42cd213.tar.gz
Next chunk
Diffstat (limited to 'run-image.sh')
-rwxr-xr-xrun-image.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/run-image.sh b/run-image.sh
new file mode 100755
index 0000000..872b08e
--- /dev/null
+++ b/run-image.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+d="$(pwd)"
+image=spm
+
+docker build -t ${image} .
+docker run \
+ --rm -it \
+ -v $d/../pkgs:/build/pkgs \
+ -v $d/../sources:/build/sources \
+ -v $d/scripts:/build/scripts \
+ ${image}