This container image has CMake and other utilities and libraries installed for
cross-compiling Ziti projects with GLIBC 2.27. The image is
automatically published to Docker Hub as
openziti/ziti-builder:latest (and :main
) when
merging to main.
Building this image is unnecessary for building the Ziti projects that use this image. This section is about releasing an improvement for the image to Docker Hub for developers and CI to use with all Ziti projects that employ this image to build the project.
# optionally substitute podman or nerdctl for docker
docker build . --tag ziti-builder-test
Change to the directory of the Ziti project you want to test building the default target. Run your local test image with that project mounted in the correct path and your UID to avoid permissions conflicts in the build output directory.
# optionally substitute podman or nerdctl for docker
docker run \
--rm \
--user="${UID}" \
--volume="${PWD}:/github/workspace" \
ziti-builder-test ./ziti-builder.sh
main
branch.main
.v[0-9]+.[0-9]+.[0-9]+
.Ziti projects that build with this image will produce artifacts that require GLIBC >= 2.31.
This excludes Ubuntu Bionic and CentOS 7.