This is a CMake-based project. Build targets include:
ALL_BUILD
(default target) buildsappgw-ingress
anddockerize
targetdevenv
builds a docker image with configured development environmentvendor
installs dependency usingglide
in a docker container with image fromdevenv
targetappgw-ingress
builds the binary for this controller in a docker container with image fromdevenv
targetdockerize
builds a docker image with the binary fromappgw-ingress
targetdockerpush
pushes the docker image to a container registry with prefix defined in CMake variable<deployment_push_prefix>
To run the CMake targets:
mkdir build && cd build
creates and enters a build directorycmake ..
generates project configuration in the build directorycmake --build .
to build the default target, orcmake --build . --target <target_name>
to specify a target to run from above