diff --git a/Dockerfile b/Dockerfile index eee4529c2a974..99da796860a77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,6 +32,8 @@ WORKDIR /go/src/github.com/pingcap/tidb # Cache dependencies COPY go.mod . COPY go.sum . +COPY parser/go.mod parser/go.mod +COPY parser/go.sum parser/go.sum RUN GO111MODULE=on go mod download