mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-06 09:21:28 +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 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"]}'
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user