joohoi / acme-dns

Limited DNS server with RESTful HTTP API to handle ACME DNS challenges easily and securely.
MIT License
2.19k stars 234 forks source link

Reduce Docker image footprint (#22) #293

Open gbonnefille opened 2 years ago

gbonnefille commented 2 years ago

Use scratch as base image and only embed the static binary.

Based on discussion https://github.com/joohoi/acme-dns/pull/132#issuecomment-551933531

gbonnefille commented 2 years ago

@joohoi this image runs in production.