Docker images are designed to be treated as immutable artifacs, which is sort of great. But you have to figure out ways to make those two conflicting goals work together. You can create a separate container that will take the code and compile it and give you the binary. Just copy the binary without the compiler back in there. Ye. Another interesting thing that peter brought up, peter mc key, and the other episode we did not too long ago was intermediate frameworks And all sorts of stuff.