提交 94ca1261 编写于 作者: S Shu Muto 提交者: Kubernetes Prow Robot

Install `code-generator` into development container (#4308)

To enable `npm run check:codegen`, download `code-generator`.
上级 404baa21
......@@ -95,6 +95,10 @@ RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.s
# Install delve for debuging go files.
RUN go get github.com/go-delve/delve/cmd/dlv
# Install code-generator. `go get` rises error, use `git clone` instead.
RUN mkdir -p /go/src/k8s.io
RUN git clone https://github.com/kubernetes/code-generator /go/src/k8s.io/code-generator
# Enable go mod. Note(shu-mutou): do not set this before `go get`
ENV GO111MODULE=on
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册