diff --git a/scripts/generators.Dockerfile b/scripts/generators.Dockerfile
index d5218bbcc9c0777beec092ec80a2874ce59ceb7f..c48833c756dc7b5332543ce6d99f8671910ad13e 100644
--- a/scripts/generators.Dockerfile
+++ b/scripts/generators.Dockerfile
@@ -33,6 +33,7 @@ ENV PATH $GOROOT/bin:$GOPATH/bin:/protoc/bin:$PATH
 WORKDIR /tmp
 # Copies some pre-required Go dependencies to avoid downloading them on each build
 COPY Makefile Makefile
+COPY .mk/ .mk/
 RUN make prereqs
 
 WORKDIR /src