mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
13 lines
424 B
Makefile
13 lines
424 B
Makefile
build: image
|
|
mkdir -p $(HOME)/.ccache
|
|
docker run --network=host --rm --workdir /server --volume $(realpath ../..):/server --cap-add=SYS_PTRACE --mount=type=bind,source=$(HOME)/.ccache,destination=/ccache -e CCACHE_DIR=/ccache -it yandex/clickhouse-builder
|
|
|
|
pull:
|
|
docker pull yandex/clickhouse-builder
|
|
|
|
image:
|
|
docker build --network=host -t yandex/clickhouse-builder .
|
|
|
|
image_push:
|
|
docker push yandex/clickhouse-builder
|