0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 17:24:15 +01:00
posthog/docker/clickhouse-builder/build.sh
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

12 lines
322 B
Bash
Executable File

#!/bin/bash
# Practical advice: Use this in development only!
#
# This builds an docker image for the M1 Mac.
# The build will take about 90min.
# Set the GIT_TAG in arm64.compile.Dockerfile to choose a version.
cd "$(dirname "$0")"
docker build assets -f assets/arm64.compile.Dockerfile -t clickhouse-dev-arm64:latest