mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-13 06:46:32 +00:00
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>
13 lines
186 B
Docker
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"]
|