ClickHouse/docker/builder/Makefile

13 lines
424 B
Makefile
Raw Normal View History

build: image
mkdir -p $(HOME)/.ccache
2019-08-11 09:30:01 +00:00
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
2016-12-17 04:19:55 +00:00
pull:
docker pull yandex/clickhouse-builder
image:
docker build --network=host -t yandex/clickhouse-builder .
2016-12-17 04:19:55 +00:00
image_push:
docker push yandex/clickhouse-builder