summaryrefslogtreecommitdiff
path: root/docker/linux/run-clang.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/linux/run-clang.sh')
-rw-r--r--docker/linux/run-clang.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/docker/linux/run-clang.sh b/docker/linux/run-clang.sh
new file mode 100644
index 0000000000..cb9f6f417f
--- /dev/null
+++ b/docker/linux/run-clang.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+
+set -e
+set -o pipefail
+
+docker build \
+ -t mapbox/gl-native:linux \
+ docker/linux
+
+docker run \
+ -i \
+ -e "CXX=clang++" \
+ -v `pwd`:/home/mapbox/build \
+ -t mapbox/gl-native:linux \
+ build/docker/linux/test.sh