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

46 lines
1.2 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 09:20:46 +02:00
nodejs \
2017-07-10 11:02:16 +02:00
nodejs-npm \
2017-05-22 09:20:46 +02:00
python \
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 \
2017-05-22 09:20:46 +02:00
zlib \
2017-05-22 08:48:55 +02:00
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 \
2017-05-22 09:20:46 +02:00
&& ./netdata-installer.sh --dont-start-it --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 \
libmnl-dev \
util-linux-dev \
zlib-dev
2017-05-21 17:37:03 +02:00
VOLUME /etc/netdata
2017-05-22 09:20:46 +02:00
USER netdata
2017-05-21 17:37:03 +02:00
EXPOSE 19999
2017-05-22 00:50:13 +02:00
CMD ["netdata", "-D"]