Multi-Arch ClickHouse that supports ARM64 and AMD64, works!
4.1K
GitHub: https://github.com/knatnetwork/clickhouse-server
This repo provides the following images, both are Multi-Arch(amd64/arm64 supported):
knatnetwork/clickhouse-server:<tag><tag> is related to the https://github.com/clickhouse/clickhouse/tags, for example, you may expect a image called knatnetwork/clickhouse-server:21.8.3.44-lts when v21.8.3.44-lts is created.
Currently, tags before v21.7.x cannot be built on ARM64, thus the earliest tag is 21.8.3.44-lts.
If you wish to build locally, you should do the following steps:
git clone https://github.com/knatnetwork/clickhouse.git
cd clickhouse
cd ClickHouse && git checkout v<TAG_NAME> && git submodule update --init --recursive
cd ..
docker buildx build --platform linux/arm64,linux/amd64 -t knatnetwork/clickhouse-server:<TAG_NAME> . --push
Dockerfile is relying on https://github.com/knatnetwork/clickhouse-builder as there have clang-12 and CMake 3.21.3 preinstalled.(They compile very slow on ARM64, especially when using QEMU)
GPL
Content type
Image
Digest
Size
494.9 MB
Last updated
over 4 years ago
docker pull knatnetwork/clickhouse-server:22.3.2.2-lts