Use labels for the test-sysctl image

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2017-05-19 16:45:41 +01:00
parent 702ad5d9d9
commit 4d4598e784
2 changed files with 2 additions and 3 deletions

View File

@ -10,9 +10,7 @@ onboot:
- name: sysctl - name: sysctl
image: "linuxkit/sysctl:13a37b8d38fbec34d8c7d3bd4dadb57c9f92c94c" image: "linuxkit/sysctl:13a37b8d38fbec34d8c7d3bd4dadb57c9f92c94c"
- name: test - name: test
image: "linuxkit/test-sysctl:37315a58ec0c18a28be7e2770feb3bf38384492d" image: "linuxkit/test-sysctl:c4df4c4d692904d6245dcdef1f4a79389bd3d894"
net: host
pid: host
- name: poweroff - name: poweroff
image: "linuxkit/poweroff:961412b8ef5c5285de0d40ec076701d955eaa084" image: "linuxkit/poweroff:961412b8ef5c5285de0d40ec076701d955eaa084"
net: host net: host

View File

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