kmesh-net / kmesh

High Performance ServiceMesh Data Plane Based on Programmable Kernel

Home Page:https://kmesh.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support build kmesh from container

hzxuzhonghu opened this issue · comments

When I first run build.sh to build kmesh, it installs a lot of dependencies on my VM. While istio has an image named build-tools, a developer can run make build make docker, make lint make gen, and many other cmd within the container. It can provide good contributing experience for new contributors.

So let's provide a build tools image, and support build kmesh binary/image from the container.

After we run build.sh, some files are mutated and some new files generated, and git tree is not clean. But we should keep it clean after build.

commented

When I first run build.sh to build kmesh, it installs a lot of dependencies on my VM. While istio has an image named build-tools, a developer can run make build make docker, make lint make gen, and many other cmd within the container. It can provide good contributing experience for new contributors.

So let's provide a build tools image, and support build kmesh binary/image from the container.

Could you please provide an explanation for the meaning and intended outcomes of the four commands listed above?

make build should build the binaries
make docker is used to build docker images.
make lint is to do golangci-lint check
make gen probably generate the proto and bpf files