ClickHouse/docker/builder/Makefile
proller ba6fc5651b Docker update and improve (#2450)
* Fix user name on distributed queries

* wip

* fix

* Docker update and improve

* Fix
2018-05-30 22:26:36 +03:00

13 lines
403 B
Makefile

build: image
mkdir -p $(HOME)/.ccache
docker run --network=host --rm --workdir /server --volume $(realpath ../..):/server --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