move pkg config from Dockerfile to build.yml

Signed-off-by: Robin Winkelewski <w9ncontact@gmail.com>
This commit is contained in:
Robin Winkelewski
2018-04-24 00:43:50 +02:00
parent 9d2c57564b
commit ffe9ac2319
44 changed files with 162 additions and 26 deletions

View File

@@ -24,4 +24,3 @@ WORKDIR /
COPY --from=mirror /out/ /
COPY --from=build /go/bin/mountie usr/bin/mountie
CMD ["/usr/bin/mountie"]
LABEL org.mobyproject.config='{"binds": ["/dev:/dev", "/var:/var:rshared,rbind", "/:/hostroot"], "capabilities": ["CAP_SYS_ADMIN"], "rootfsPropagation": "shared", "net": "new", "ipc": "new"}'

View File

@@ -1 +1,11 @@
image: mount
config:
binds:
- /dev:/dev
- /var:/var:rshared,rbind
- /:/hostroot
capabilities:
- CAP_SYS_ADMIN
rootfsPropagation: shared
net: new
ipc: new