0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 18:26:15 +01:00
posthog/docker/clickhouse-builder/README.md
Marius Andra 9da6ee3b5f
ClickHouse M1 Docker (#5215)
* m1 clickhouse support

* add clickhouse arm64 compilation dockerfile

* use clang-12 and 2 parallel builds

* working clickhouse docker image

* this needs to be committed out for CH to work... a known issue. WIP

* move things around

* move things around again

* add arm64 build scripts

* comment out broken line in DEBUG mode, still make it break production builds

* update readme

* timeless text

* add issue in comment

* way way way too much white space

* zookeeper restarts sometimes needed
2021-09-13 13:01:24 +02:00

674 B

Clickhouse on ARM64 (Apple Silicon)

This package compiles ClickHouse from scratch to work on an Apple Silicon mac, with protobuf support.

To build, run ./build.sh and then use the generated clickhouse-dev-arm64:latest image however you please.

NB! It takes over an hour to build ClickHouse on a M1 mac. Make sure to give at least 8GB of RAM to Docker for the build. It'll fail otherwise. Set it back to 2GB after. You may also need to increase your docker volume size. The default 60GB wasn't enough for me, though I had a lot of other stuff in there as well.

The built image is currently around 30GB.