Add label for poweroff container to simplify tests

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-05-19 17:04:45 +01:00
parent 4d4598e784
commit 56121a774b
9 changed files with 9 additions and 42 deletions

View File

@@ -1,3 +1,4 @@
FROM alpine:3.5
ADD . ./
ENTRYPOINT ["/bin/sh", "/poweroff.sh"]
LABEL org.mobyproject.config='{"net": "host","pid": "host", "ipc": "host", "readonly": true, "capabilities": ["CAP_SYS_BOOT"]}'