mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-16 23:29:38 +00:00
Clean up dhcpcd container
It is not necessary to bring up `eth0`, the program does it fine. This means we can remove shell script, clean up build. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -7,8 +7,6 @@ RUN \
|
||||
openrc \
|
||||
&& true
|
||||
|
||||
ADD dhcpcd.conf /dhcpcd.conf
|
||||
ADD start_dhcpcd.sh /usr/local/bin/start_dhcpcd.sh
|
||||
ADD 10-mtu /usr/lib/dhcpcd/dhcpcd-hooks/10-mtu
|
||||
COPY . .
|
||||
|
||||
CMD ["/usr/local/bin/start_dhcpcd.sh"]
|
||||
CMD ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf"]
|
||||
|
Reference in New Issue
Block a user