mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-04 16:30:52 +00:00
move pkg config from Dockerfile to build.yml
Signed-off-by: Robin Winkelewski <w9ncontact@gmail.com>
This commit is contained in:
@@ -32,4 +32,3 @@ COPY --from=mirror /out/ /
|
||||
COPY usr/ /usr/
|
||||
COPY etc/ /etc/
|
||||
CMD ["/usr/bin/rungetty.sh"]
|
||||
LABEL org.mobyproject.config='{"pid": "host", "net":"host", "binds": ["/etc/resolv.conf:/etc/resolv.conf", "/run:/run", "/tmp:/tmp", "/etc:/hostroot/etc", "/usr/bin/ctr:/usr/bin/ctr", "/usr/bin/runc:/usr/bin/runc", "/containers:/containers","/var/log:/var/log","/dev:/dev","/sys:/sys"], "capabilities": ["all"]}'
|
||||
|
@@ -1 +1,17 @@
|
||||
image: getty
|
||||
config:
|
||||
pid: host
|
||||
net: host
|
||||
binds:
|
||||
- /etc/resolv.conf:/etc/resolv.conf
|
||||
- /run:/run
|
||||
- /tmp:/tmp
|
||||
- /etc:/hostroot/etc
|
||||
- /usr/bin/ctr:/usr/bin/ctr
|
||||
- /usr/bin/runc:/usr/bin/runc
|
||||
- /containers:/containers
|
||||
- /var/log:/var/log
|
||||
- /dev:/dev
|
||||
- /sys:/sys
|
||||
capabilities:
|
||||
- all
|
||||
|
Reference in New Issue
Block a user