If anyone's interested in my work, here's a quick example of some moby chops (which you may know as docker).
https://hub.docker.com/layers/indralabs/btcd/v0.23.3/images/sha256-f5cfc067f68e214e540c49852926a86ca32b22d04b3cc4b504522a6fd110af68?context=explore
Some features:
- Support for 13 architectures.
- A custom pre-permissioned root filesystem containing sane defaults for btcd.conf, including a btcd user/group.
- The only binary that exists in the root filesystem is a statically compiled version of btcd.
- Minified image layering (i.e 4.5 megabytes per image).
- A container launched from this image will automatically run the daemon under the internal btcd user and group.