Netgear / wsdd2

WSD/LLMNR Discovery/Name Service Daemon
GNU General Public License v3.0
154 stars 33 forks source link

Add Dockerfile #10

Closed Daviey closed 4 years ago

Daviey commented 4 years ago

This change adds a Dockerfile which builds the binary in an Alpine linux image and copies it into a small Alpine image.

It requires an environment variable of HOSTNAME, and takes an optional variable of WORKGROUP (and defaults to "WORKGROUP").

This can be tested with:

docker build -t ${USER}/wsdd2
docker run -ti -e HOSTNAME=MYSERVER ${USER}/wsdd2

Signed-off-by: Dave Walker (Daviey) email@daviey.com

Andy2244 commented 4 years ago

sure looks usefully, thanks