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"]