mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 01:06:27 +00:00
test/pkg/containerd: move config to build.yml
... from the old-skool label scheme. No semantic change intended. Some keys are in different orders and the "mounts" entry gained an empty "destination" key, neither of which makes a practical difference. Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
parent
1fb71a127e
commit
b5c6c3ceeb
@ -29,4 +29,3 @@ WORKDIR $GOPATH/src/github.com/containerd/containerd
|
||||
ADD run.sh ./run.sh
|
||||
|
||||
ENTRYPOINT ["/bin/sh", "run.sh"]
|
||||
LABEL org.mobyproject.config='{"capabilities": ["all"], "tmpfs": ["/tmp"], "binds": ["/dev:/dev", "/var/lib:/var/lib", "/etc/resolv.conf:/etc/resolv.conf", "/usr/bin/runc:/usr/bin/runc", "/usr/bin/containerd:/usr/bin/containerd", "/usr/bin/containerd-shim:/usr/bin/containerd-shim"], "mounts": [{"type": "cgroup", "options": ["rw","nosuid","noexec","nodev","relatime"]}],}'
|
||||
|
@ -1 +1,16 @@
|
||||
image: test-containerd
|
||||
config:
|
||||
capabilities:
|
||||
- all
|
||||
tmpfs:
|
||||
- /tmp
|
||||
binds:
|
||||
- /dev:/dev
|
||||
- /var/lib:/var/lib
|
||||
- /etc/resolv.conf:/etc/resolv.conf
|
||||
- /usr/bin/runc:/usr/bin/runc
|
||||
- /usr/bin/containerd:/usr/bin/containerd
|
||||
- /usr/bin/containerd-shim:/usr/bin/containerd-shim
|
||||
mounts:
|
||||
- type: cgroup
|
||||
options: ["rw","nosuid","noexec","nodev","relatime"]
|
||||
|
Loading…
Reference in New Issue
Block a user