ragibkl / adblock-dns-server

Adblock DNS Server powered by Bancuh DNS and dnsdist-acme
https://bancuh.com/
MIT License
68 stars 14 forks source link

Add compiler bin to base dns image #91

Closed ragibkl closed 3 years ago

ragibkl commented 3 years ago

Fixes #76. This PR is to combine the adblock_dns:base image and the adblock list compiler into a single image.

Since we are using Rust, the adblock compiler can be output as a single executable binary, with no runtime lib dependencies. It should be small enough that we can include it in the actual adblock_dns image directly.

With this, compiling a custom adblock should be simpler. Configs can be added into the base image, and we can run the compiler directly there.

ragibkl commented 3 years ago

Merging this for now. Some cleanup will be done in a separate PR.