1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-30 09:16:41 +02:00
dockerfiles/netdata/Dockerfile

41 lines
1.1 KiB
Docker
Raw Normal View History

2016-06-21 03:23:08 +02:00
#
# Dockerfile for netdata
#
FROM alpine
2017-05-08 01:05:07 +02:00
MAINTAINER kev <noreply@easypi.pro>
2016-06-21 03:23:08 +02:00
2017-05-21 17:06:12 +02:00
ENV NETDATA_VERSION 1.6.0
2016-06-21 03:23:08 +02:00
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
2017-05-21 17:37:03 +02:00
VOLUME /etc/netdata
2016-06-21 03:23:08 +02:00
EXPOSE 19999
CMD ["netdata", "-nd"]