docker/dockerfiles/toolchains/README.md
Toolchains docker image provides a ready to use development environment to build StarRocks project from scratch, e.g., building the thirdparty first, and the fe component and be component.
Toolchains dockerfile takes a linux distribution as the base image, installs necessary development tools, such as gcc, cmake, java, maven, autoconf, automake, ccache, .... Developers can use this image to start to build StarRocks third party dependencies.
DOCKER_BUILDKIT=1 docker buildx build -f toolchains-centos7.Dockerfile --platform <platform_list> -t starrocks/toolchains-centos7:<tag> --push .
E.g.:
DOCKER_BUILDKIT=1 docker buildx build -f toolchains-centos7.Dockerfile --platform linux/amd64,linux/arm64 -t starrocks/toolchains-centos7:20230306 --push .
DOCKER_BUILDKIT=1 docker build -f toolchains-centos7.Dockerfile -t starrocks/toolchains-centos7:20230306 .
DOCKER_BUILDKIT=1 docker buildx build -f toolchains-ubuntu.Dockerfile --platform <platform_list> -t starrocks/toolchains-ubuntu:<tag> --push .
E.g.:
DOCKER_BUILDKIT=1 docker buildx build -f toolchains-ubuntu.Dockerfile --platform linux/amd64,linux/arm64 -t starrocks/toolchains-ubuntu:20230306 --push .
DOCKER_BUILDKIT=1 docker build -f toolchains-ubuntu.Dockerfile -t starrocks/toolchains-ubuntu:20230306 .