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

@@ -16,4 +16,3 @@ WORKDIR /
COPY --from=mirror /out/ /
COPY etc/ /etc/
CMD ["/usr/sbin/ntpd", "-d", "-s"]
LABEL org.mobyproject.config='{"binds": ["/etc/resolv.conf:/etc/resolv.conf"], "capabilities": ["CAP_SYS_TIME", "CAP_SYS_NICE", "CAP_SYS_CHROOT", "CAP_SETUID", "CAP_SETGID"]}'

View File

@@ -1 +1,10 @@
image: openntpd
config:
binds:
- /etc/resolv.conf:/etc/resolv.conf
capabilities:
- CAP_SYS_TIME
- CAP_SYS_NICE
- CAP_SYS_CHROOT
- CAP_SETUID
- CAP_SETGID