While implementing DoubleDutch (and migrating my own stack to Docker 😄), I've stumbled upon multi-stage builds. This can actually be really useful in this case:
The size of the image can be drastically reduced (as we really only need the base image of ubuntu and the compiled binary to run the server, right?)
You may easily create a test stage (e.g. using a Python image), in which you simpy execute the server binary (created in a different stage), and run some Python test scripts against that server.
Hi!
While implementing DoubleDutch (and migrating my own stack to Docker 😄), I've stumbled upon multi-stage builds. This can actually be really useful in this case:
What do you think?