Files
linuxkit/pkg/dhcpcd/Dockerfile
Justin Cormack 0a030dc219 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>
2017-04-06 15:32:22 +01:00

13 lines
186 B
Docker

FROM alpine:3.5
RUN \
apk update && apk upgrade -a && \
apk add --no-cache \
dhcpcd \
openrc \
&& true
COPY . .
CMD ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf"]