summaryrefslogtreecommitdiff
path: root/docker/linux/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/linux/run.sh')
-rwxr-xr-xdocker/linux/run.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/docker/linux/run.sh b/docker/linux/run.sh
new file mode 100755
index 0000000000..3d41843cf2
--- /dev/null
+++ b/docker/linux/run.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+
+set -e
+set -o pipefail
+
+./docker/build.sh
+
+docker build -t mapbox/gl-native:linux docker/linux
+
+docker run \
+ -i \
+ -v `pwd`:/home/mapbox/build \
+ -t mapbox/gl-native:linux \
+ build/docker/linux/test.sh