Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/build/devapp: handle module dependencies more intelligently in Dockerfile #34192
The x/build/devapp Dockerfile contains extra steps to optimize the speed of repeated docker builds when the
The point is to speed up incremental development.
Checking now, it looks like it's ~11 seconds to do an increment "make docker-prod" after doing a minor change to x/build/devapp/*.go.
But without it, incremental builds are ~22 seconds, assuming you're on a really fast network (Google corp, wired). Because without those lines you pull lots of source from proxy.golang.org.