1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-11-27 22:28:31 +02:00

add netdata

This commit is contained in:
kev
2016-06-21 09:23:08 +08:00
parent 8af2695ecd
commit f481ed97c3
5 changed files with 55 additions and 1 deletions

38
netdata/Dockerfile Normal file
View File

@@ -0,0 +1,38 @@
#
# Dockerfile for netdata
#
FROM alpine
MAINTAINER kev <noreply@easypi.info>
ENV NETDATA_VERSION 1.2.0
RUN set -xe \
&& apk add --no-cache autoconf \
automake \
bash \
build-base \
curl \
libmnl \
libmnl-dev \
libuuid \
util-linux-dev \
zlib-dev \
&& addgroup -g 1000 netdata \
&& adduser -D -H -u 1000 -G netdata netdata \
&& curl -sSL https://github.com/firehol/netdata/releases/download/v$NETDATA_VERSION/netdata-$NETDATA_VERSION.tar.gz | tar xz \
&& cd netdata-$NETDATA_VERSION \
&& ./netdata-installer.sh --dont-wait \
&& cd .. \
&& rm -rf netdata-$NETDATA_VERSION \
&& apk del autoconf \
automake \
build-base \
curl \
libmnl-dev \
util-linux-dev \
zlib-dev
EXPOSE 19999
CMD ["netdata", "-nd"]

7
netdata/README.md Normal file
View File

@@ -0,0 +1,7 @@
netdata
=======
[netdata][1] is a highly optimized Linux daemon providing real-time performance
monitoring for Linux systems, Applications, SNMP devices, over the web!
[1]: https://github.com/firehol/netdata

View File

@@ -0,0 +1,5 @@
netdata:
image: vimagick/netdata
net: host
pid: host
restart: always