2017-05-21 17:37:03 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for netdata-arm
|
|
|
|
#
|
|
|
|
|
2017-05-22 08:48:55 +02:00
|
|
|
FROM easypi/alpine-arm
|
2017-05-21 17:37:03 +02:00
|
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
|
2017-05-22 08:48:55 +02:00
|
|
|
ENV NETDATA_VERSION 1.6.0
|
2017-05-21 17:37:03 +02:00
|
|
|
|
|
|
|
RUN set -xe \
|
2017-05-22 08:48:55 +02:00
|
|
|
&& apk add --no-cache autoconf \
|
2017-05-21 17:37:03 +02:00
|
|
|
automake \
|
2017-05-22 08:48:55 +02:00
|
|
|
bash \
|
|
|
|
build-base \
|
2017-05-21 17:37:03 +02:00
|
|
|
curl \
|
2017-05-22 08:48:55 +02:00
|
|
|
libmnl \
|
2017-05-21 17:37:03 +02:00
|
|
|
libmnl-dev \
|
2017-05-22 08:48:55 +02:00
|
|
|
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 \
|
2017-05-21 17:37:03 +02:00
|
|
|
&& cd .. \
|
2017-05-22 08:48:55 +02:00
|
|
|
&& 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
|
|
|
|
|
|
|
|
EXPOSE 19999
|
|
|
|
|
2017-05-22 00:50:13 +02:00
|
|
|
CMD ["netdata", "-D"]
|