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

@@ -15,4 +15,3 @@ CMD []
WORKDIR /
COPY --from=mirror /go/bin/rngd /sbin/rngd
CMD ["/sbin/rngd"]
LABEL org.mobyproject.config='{"capabilities": ["CAP_SYS_ADMIN"], "oomScoreAdj": -800, "readonly": true, "net": "new", "ipc": "new"}'

View File

@@ -1 +1,8 @@
image: rngd
config:
capabilities:
- CAP_SYS_ADMIN
oomScoreAdj: -800
readonly: true
net: new
ipc: new