update proto and make gen cannot generate pb file

Open
#3,638 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
docker, go

Research direction

Start with the gen target in Makefile and the related rules in Makefile.core.mk, then reproduce the reported make gen command in the build-tools container. Investigate why docker cannot find docker-init; done means generation completes and the expected pb files are created.

Written by the indexing model from the issue text.

Description

  • docker run --rm -it --init --sig-proxy=true -v /var/run/docker.sock:/var/run/docker.sock --env-file /dev/fd/63 -e IN_BUILD_CONTAINER=1 -e TZ=Asia/Shanghai --mount type=bind,source=/root/langs/api,destination=/work --mount type=volume,source=go,destination=/go --mount type=volume,source=gocache,destination=/gocache --mount type=volume,source=cache,destination=/home/.cache --mount type=volume,source=crates,destination=/home/.cargo/registry --mount type=volume,source=git-crates,destination=/home/.cargo/git --mount type=bind,source=/root/.docker,destination=/config/.docker,readonly --mount type=bind,source=/root/.gitconfig,destination=/home/.gitconfig,readonly -w /work gcr.io/istio-testing/build-tools:release-1.20-7a5a6eaafb86469d7796ab193153d04e437c85ad make --no-print-directory -e -f Makefile.core.mk gen
    ++ env
    ++ grep -v '^|^PATH=|^GOPATH=|^GOROOT=|^SHELL=|^EDITOR=|^TMUX=|^USER=|^HOME=|^PWD=|^TERM=|^RUBY|^GEM_|^rvm_|^SSH=|^TMPDIR=|^CC=|^CXX=|^MAKEFILE_LIST='
    docker: Error response from daemon: exec: "docker-init": executable file not found in $PATH.
    make: *** [Makefile:44:gen] 错误 127
Dominant language
Go
Stars
523
Forks
623
Avg merge
5d 20h
Merged PRs (30d)
4

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from istio/api

All issues in istio/api

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.