mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-24 19:28:09 +00:00
Fix dhcpcd hooks config
These were being added to the incorrect directory. Also move config file to /etc to be more standard. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
ef47cd9c98
commit
157c73cfed
@ -14,5 +14,7 @@ ENTRYPOINT []
|
|||||||
CMD []
|
CMD []
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=mirror /out/ /
|
COPY --from=mirror /out/ /
|
||||||
COPY /dhcpcd.conf /usr/ /
|
# put the config file in / because we bind mount /etc to handle resolv.conf symlinks
|
||||||
|
COPY /dhcpcd.conf /
|
||||||
|
COPY /usr/ /usr/
|
||||||
CMD ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf"]
|
CMD ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf"]
|
||||||
|
Loading…
Reference in New Issue
Block a user