@cryptotaxi247 / netdata-1 / commits / f4d5d6b4c

Do not reclone the current project from github, as it's already here

Balthazar Rouberol committed Sep 20, 2016 at 06:57 UTC f4d5d6b4c833789283626ec63399000c8b6e21ea
2 files changed +2 -7
Dockerfile
+2 -2
@@ -3,9 +3,9 @@
3
4 FROM debian:jessie
5
6 -ADD docker-build.sh /docker-build.sh
6 +ADD . /netdata.git
7
8 -RUN chmod +x /docker-build.sh && sync && sleep 1 && /docker-build.sh
8 +RUN cd ./netdata.git && chmod +x ./docker-build.sh && sync && sleep 1 && ./docker-build.sh
9
10 WORKDIR /
11
docker-build.sh
-5
@@ -17,11 +17,6 @@ apt-get -qq update
17 apt-get -y install zlib1g-dev uuid-dev libmnl-dev gcc make curl git autoconf autogen automake pkg-config netcat-openbsd jq
18 apt-get -y install autoconf-archive lm-sensors nodejs python python-mysqldb python-yaml
19
20 -# fetch netdata
21 -
22 -git clone https://github.com/firehol/netdata.git /netdata.git --depth=1
23 -cd /netdata.git
24 -
20 # use the provided installer
21
22 ./netdata-installer.sh --dont-wait --dont-start-it