diff options
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/containerized_build.sh | 7 | ||||
-rw-r--r-- | .travis/images/Dockerfile.alpine | 5 | ||||
-rw-r--r-- | .travis/images/Dockerfile.centos6 | 5 | ||||
-rw-r--r-- | .travis/images/Dockerfile.centos7 | 5 | ||||
-rw-r--r-- | .travis/images/Dockerfile.ubuntu1804 | 6 |
5 files changed, 28 insertions, 0 deletions
diff --git a/.travis/containerized_build.sh b/.travis/containerized_build.sh new file mode 100755 index 0000000000..8beb36d6c6 --- /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 diff --git a/.travis/images/Dockerfile.alpine b/.travis/images/Dockerfile.alpine new file mode 100644 index 0000000000..b9df9afd84 --- /dev/null +++ b/.travis/images/Dockerfile.alpine @@ -0,0 +1,5 @@ +FROM alpine:latest + +RUN apk add gcc make autoconf automake pkgconfig zlib-dev libuuid git + +COPY . /code diff --git a/.travis/images/Dockerfile.centos6 b/.travis/images/Dockerfile.centos6 new file mode 100644 index 0000000000..c286fb95c1 --- /dev/null +++ b/.travis/images/Dockerfile.centos6 @@ -0,0 +1,5 @@ +FROM centos:6 + +RUN yum install -y gcc make autoconf automake pkg-config zlib-devel libuuid-devel git + +COPY . /code diff --git a/.travis/images/Dockerfile.centos7 b/.travis/images/Dockerfile.centos7 new file mode 100644 index 0000000000..d94359dec0 --- /dev/null +++ b/.travis/images/Dockerfile.centos7 @@ -0,0 +1,5 @@ +FROM centos:7 + +RUN yum install -y gcc make autoconf automake pkg-config zlib-devel libuuid-devel git + +COPY . /code diff --git a/.travis/images/Dockerfile.ubuntu1804 b/.travis/images/Dockerfile.ubuntu1804 new file mode 100644 index 0000000000..30ac7cf71e --- /dev/null +++ b/.travis/images/Dockerfile.ubuntu1804 @@ -0,0 +1,6 @@ +FROM ubuntu:18.04 + +RUN apt-get update && \ + apt-get install -y gcc make autoconf automake pkg-config zlib1g-dev uuid-dev git + +COPY . /code |