4 ms·
> When in Node.JS or Go a medium-sized service’s Docker image takes 5 to 10 mins to build and deploy, I guess you build Go binary in building the docker image.
by tapirl 6y ago
> When in Node.JS or Go a medium-sized service’s Docker image takes 5 to 10 mins to build and deploy,
I guess you build Go binary in building the docker image.
You should build Go binary then build the docker image instead (5 seconds duration).
One the other hand, even if you build Go binary in building the docker image, 5 to 10 mins duration is still not a typical build duration for most medium-sized Go projects. One minute is enough.