Merge pull request #2527 from eyz/linuxkit-dhcpcd-CAP_SYS_ADMIN

added capability to pkg/dhcpcd for sethostname
This commit is contained in:
Rolf Neugebauer
2017-09-21 20:53:16 +01:00
committed by GitHub
39 changed files with 39 additions and 39 deletions

View File

@@ -16,4 +16,4 @@ WORKDIR /
COPY --from=mirror /out/ /
COPY /dhcpcd.conf /usr/ /
CMD ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf"]
LABEL org.mobyproject.config='{"binds": ["/run/resolvconf:/etc"], "capabilities": ["CAP_NET_ADMIN", "CAP_NET_BIND_SERVICE", "CAP_NET_RAW"]}'
LABEL org.mobyproject.config='{"binds": ["/run/resolvconf:/etc"], "capabilities": ["CAP_NET_ADMIN", "CAP_NET_BIND_SERVICE", "CAP_NET_RAW", "CAP_SYS_ADMIN"]}'