mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-02 23:47:11 +00:00
move pkg config from Dockerfile to build.yml
Signed-off-by: Robin Winkelewski <w9ncontact@gmail.com>
This commit is contained in:
@@ -22,4 +22,3 @@ COPY etc/ /etc/
|
||||
COPY usr/ /usr/
|
||||
RUN mkdir -p /etc/ssh /root/.ssh && chmod 0700 /root/.ssh
|
||||
CMD ["/sbin/tini", "/usr/bin/ssh.sh"]
|
||||
LABEL org.mobyproject.config='{"pid": "host", "binds": ["/root/.ssh:/root/.ssh", "/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: sshd
|
||||
config:
|
||||
pid: host
|
||||
binds:
|
||||
- /root/.ssh:/root/.ssh
|
||||
- /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