move pkg config from Dockerfile to build.yml

Signed-off-by: Robin Winkelewski <w9ncontact@gmail.com>
This commit is contained in:
Robin Winkelewski
2018-04-24 00:43:50 +02:00
parent 9d2c57564b
commit ffe9ac2319
44 changed files with 162 additions and 26 deletions

View File

@@ -23,5 +23,3 @@ ENTRYPOINT ["/bin/node_exporter", "--path.procfs", "/host/proc", \
"--path.sysfs", "/host/sys", \
"--collector.filesystem.ignored-mount-points", \
"^/(sys|proc|dev|host|etc)($|/)"]
LABEL org.mobyproject.config='{"pid": "host", "binds": ["/proc:/host/proc", "/sys:/host/sys", "/:/rootfs"], "capabilities": ["all"]}'

View File

@@ -1,2 +1,10 @@
image: node_exporter
network: true
config:
pid: host
binds:
- /proc:/host/proc
- /sys:/host/sys
- /:/rootfs
capabilities:
- all