mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 10:31:35 +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 []
|
||||
WORKDIR /
|
||||
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"]
|
||||
|
Loading…
Reference in New Issue
Block a user