I wanted to try the software (which you suggested in anacrolix/torrent#386) using Docker, since I don't have/want to install Golang packages on my PC. Thus, if I have to tinker with code, I will also be able to.
It's focused on local development:
Allows development without installing Golang toolchain, AFAICT.
Decreased repeated build time due to splitting mod downloading from compilation, thus benefitting from Docker image layer caching speedup.
No image size optimizations (eg. not using golang:alpine as base image). If a more slim, production-optimized artifact is desired, this image can be used as base image.
Unopinionated (no forced command line switches). Just a sensible -h by default, if none given.
Somewhat verbose when building to keep an eye on build progress.
For convenience, I've set up a Docker Hub Automated Build at https://hub.docker.com/r/pataquets/confluence-src/ which I'll be using to deploy and test on other machines.
I'll be crafting a Docker Compose test manifest soon, which I can PR, if interested.
I hope you'll find it useful.
I wanted to try the software (which you suggested in anacrolix/torrent#386) using Docker, since I don't have/want to install Golang packages on my PC. Thus, if I have to tinker with code, I will also be able to.
It's focused on local development:
golang:alpine
as base image). If a more slim, production-optimized artifact is desired, this image can be used as base image.-h
by default, if none given.For convenience, I've set up a Docker Hub Automated Build at https://hub.docker.com/r/pataquets/confluence-src/ which I'll be using to deploy and test on other machines. I'll be crafting a Docker Compose test manifest soon, which I can PR, if interested. I hope you'll find it useful.