1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00

update netdata

This commit is contained in:
kev 2017-05-22 06:50:13 +08:00
parent b4decbb9f6
commit 38bb4c8324
4 changed files with 13 additions and 6 deletions

View File

@ -37,4 +37,4 @@ VOLUME /etc/netdata
EXPOSE 19999
CMD ["netdata", "-nd"]
CMD ["netdata", "-D"]

View File

@ -17,14 +17,13 @@ RUN set -xe \
autoconf-archive \
autogen \
automake \
build-essential \
curl \
debhelper \
dh-autoreconf \
dh-systemd \
fakeroot \
gcc \
libmnl-dev \
make \
pkg-config \
uuid-dev \
zlib1g-dev \
@ -38,12 +37,11 @@ RUN set -xe \
autoconf-archive \
autogen \
automake \
build-essential \
curl \
debhelper \
dh-autoreconf \
dh-systemd \
gcc \
make \
pkg-config \
&& rm -rf netdata-${NETDATA_VER} /var/lib/apt/lists/*
@ -51,4 +49,4 @@ VOLUME /etc/netdata
EXPOSE 19999
CMD ["netdata", "-nd"]
CMD ["netdata", "-D"]

View File

@ -0,0 +1,7 @@
netdata:
image: easypi/netdata-arm
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
net: host
pid: host
restart: always

View File

@ -1,5 +1,7 @@
netdata:
image: vimagick/netdata
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
net: host
pid: host
restart: always