mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-03 13:20:56 +00:00
move pkg config from Dockerfile to build.yml
Signed-off-by: Robin Winkelewski <w9ncontact@gmail.com>
This commit is contained in:
@@ -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"]}'
|
||||
|
||||
|
||||
@@ -1,2 +1,10 @@
|
||||
image: node_exporter
|
||||
network: true
|
||||
config:
|
||||
pid: host
|
||||
binds:
|
||||
- /proc:/host/proc
|
||||
- /sys:/host/sys
|
||||
- /:/rootfs
|
||||
capabilities:
|
||||
- all
|
||||
|
||||
Reference in New Issue
Block a user