mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-08 10:21:27 +00:00
move pkg config from Dockerfile to build.yml
Signed-off-by: Robin Winkelewski <w9ncontact@gmail.com>
This commit is contained in:
@@ -16,4 +16,3 @@ WORKDIR /
|
||||
COPY --from=mirror /out/ /
|
||||
COPY /swap.sh .
|
||||
ENTRYPOINT ["swap.sh"]
|
||||
LABEL org.mobyproject.config='{"binds": ["/dev:/dev", "/var:/var"], "capabilities": ["CAP_SYS_ADMIN", "CAP_MKNOD"], "net": "new", "ipc": "new"}'
|
||||
|
@@ -1 +1,10 @@
|
||||
image: swap
|
||||
config:
|
||||
binds:
|
||||
- /dev:/dev
|
||||
- /var:/var
|
||||
capabilities:
|
||||
- CAP_SYS_ADMIN
|
||||
- CAP_MKNOD
|
||||
net: new
|
||||
ipc: new
|
||||
|
Reference in New Issue
Block a user