summaryrefslogtreecommitdiffstats
path: root/.travis/containerized_build.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/containerized_build.sh')
-rwxr-xr-x.travis/containerized_build.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis/containerized_build.sh b/.travis/containerized_build.sh
new file mode 100755
index 000000000..314a2ec39
--- /dev/null
+++ b/.travis/containerized_build.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -e
+
+docker build -t dev-image -f ".travis/images/Dockerfile.$1" .
+
+docker run -it -w /code dev-image ./netdata-installer.sh --dont-wait --dont-start-it --install /tmp