Faster Docker Builds using Inline Caching

So you&rsquo;re building a container where it has packages, like npm ci or go mod download , and would you like to make it quicker? For example: COPY go.mod go.sum ./ RUN go mod download Normally when you edit go.mod or go.sum the go mod download will have to redownload all the packages as its cache was busted by the change in the files. Well - we can use inline bind mounts to avoid that.