ClickHouse/docker/builder
proller 0047987333 CLICKHOUSE-3885: add partition_key alias (#3166)
* Allow run integration tests from ctest: cmake .. -DENABLE_TEST_INTEGRATION=1 && ninja && ctest -V -R integration

* CLICKHOUSE-3885: add partition_key alias

* fix

* Update ClusterCopier.cpp

* Better test

* fixing..
2018-09-21 13:46:58 +03:00
..
build.sh CLICKHOUSE-3885: add partition_key alias (#3166) 2018-09-21 13:46:58 +03:00
Dockerfile Docker update and improve (#2450) 2018-05-30 22:26:36 +03:00
Makefile Docker update and improve (#2450) 2018-05-30 22:26:36 +03:00
README.md Actualized Docker builder; added README #268 2018-05-13 01:08:53 +03:00

Allows to build ClickHouse in Docker. This is useful if you have an old OS distribution and you don't want to build fresh gcc or clang from sources.

Usage:

Prepare image:

make image

Run build:

make build

Before run, ensure that your user has access to docker:
To check, that you have access to Docker, run docker ps.
If not, you must add this user to docker group: sudo usermod -aG docker $USER and relogin.
(You must close all your sessions. For example, restart your computer.)

Build results are available in build_docker directory at top level of your working copy.
It builds only binaries, not packages.

For example, run server:

cd $(git rev-parse --show-toplevel)/dbms/src/Server
$(git rev-parse --show-toplevel)/build_docker/dbms/src/Server/clickhouse server

Run client:

$(git rev-parse --show-toplevel)/build_docker/dbms/src/Server/clickhouse client