From 157c73cfed0c894c0825322112864f9c1b1197f5 Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Tue, 26 Jun 2018 12:58:17 +0100 Subject: [PATCH] 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 --- pkg/dhcpcd/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/dhcpcd/Dockerfile b/pkg/dhcpcd/Dockerfile index 2659ac345..a1283b567 100644 --- a/pkg/dhcpcd/Dockerfile +++ b/pkg/dhcpcd/Dockerfile @@ -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"]