1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/netdata/arm/Dockerfile

41 lines
1.1 KiB
Docker
Raw Normal View History

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"]