The Dockerfile is now more like the weave one, with a scratch layer underneath. Makefile taken more or less from weave, too; except, it uses environment variables to cross-compile the binary (which should probably be done for weave as well)
6 lines
116 B
Docker
6 lines
116 B
Docker
FROM scratch
|
|
# EXPOSE 53/udp
|
|
WORKDIR /home/weave
|
|
ADD ./dns /home/weave/weavedns
|
|
ENTRYPOINT ["/home/weave/weavedns"]
|