summaryrefslogtreecommitdiffstats
path: root/build/Dockerfile
diff options
context:
space:
mode:
authorPaweł Krupa <pawel@krupa.net.pl>2018-09-26 12:46:28 +0200
committerGitHub <noreply@github.com>2018-09-26 12:46:28 +0200
commitc1b02322653f8474c6dc077f33f016d68f54406b (patch)
treed79203405b885b533db58455a77a344c6de98a65 /build/Dockerfile
parent465d375c5096421254c6e331394bf6d69ab36db9 (diff)
reproducible build system (#4294)
- Move `m4` dir to `build/m4` to clean TLD - create `build/build.sh` script which builds netdata in docker container - create `build/Dockerfile` which creates reproducible build environment - exclude `.lgtm.yml` from final package - use `.tar.gz` package in `netdata.spec.in` as `*.xz` and `*.bz2` will be removed due to #3913 What it does is simple, you don't need any libraries installed on host to build netdata as they are provided inside a container.
Diffstat (limited to 'build/Dockerfile')
-rw-r--r--build/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/Dockerfile b/build/Dockerfile
new file mode 100644
index 0000000000..8a816b825c
--- /dev/null
+++ b/build/Dockerfile
@@ -0,0 +1,8 @@
+FROM gcc:8
+
+RUN apt-get update && apt-get install -y \
+ autoconf-archive \
+ autogen \
+ libmnl-dev \
+ uuid-dev \
+ && rm -rf /var/lib/apt/lists/*