warner / wireguard-vanity-address

generate Wireguard keypairs with a given prefix string
MIT License
431 stars 32 forks source link

Add Dockerfile to the repo to build wireguard-vanity-address #27

Open richb-hanover opened 2 years ago

richb-hanover commented 2 years ago

For whatever reason, I had trouble building wireguard-vanity-address on macOS, so I had to spin up one of my Linux VMs to run it. I love this program and blogged about it.

I read Jonathan Bergknoff’s Run More Stuff in Docker that made a lot of sense to me. (The magic of using Docker is that once you’ve created the instance, all the tool and dependency versions remain the same. It’s easy then to hand the Dockerfile to a colleague who can build an identical development environment in a few minutes. It also avoids cluttering my daily-driver laptop with multiple versions of Node, npm, Go, Python, rust, and any number of little-used tooling – they’re all encapsulated in the Docker container.)

So I offer up this Dockerfile for your readers. Thanks again for writing wireguard-vanity-address!