Commit Graph

228 Commits

Author SHA1 Message Date
robot-clickhouse
cd82eed093 Auto version update to [21.3.1.1] [54448] 2021-02-01 12:50:56 +03:00
alexey-milovidov
21455ae646
Merge pull request #19374 from filimonov/docker_openshift
Allow docker to be executed with arbitrary uid
2021-01-22 17:28:44 +03:00
alexey-milovidov
04b950ecbd
Update Dockerfile.alpine 2021-01-22 17:28:36 +03:00
alexey-milovidov
8fdb9d9018
Update Dockerfile 2021-01-22 17:28:25 +03:00
Mikhail Filimonov
fb98e3f8dc
Allow docker to be executed with arbitrary uid 2021-01-21 18:25:09 +01:00
alesapin
fe6b964b32 Revert "Revert "Auto version update to [21.2.1.1] [54446]""
This reverts commit 42f63e14b5.
2021-01-21 12:39:46 +03:00
alexey-milovidov
e0c90cd20e
Update Dockerfile.alpine 2021-01-15 20:59:12 +03:00
alexey-milovidov
c846f76ffa
Update Dockerfile 2021-01-15 20:58:51 +03:00
Mikhail Filimonov
0d23f3f16a
Docker: fix uid/gid of the clickhouse user
Explicitly set uid / gid of clickhouse user & group to the fixed values 101.

It is especially important for rootless containers: in that case entrypoint can't do chown
and owners of mounted volumes should be configured externally.

We do that in advance at the begining of Dockerfile before any packages will be installed
to prevent picking those uid / gid by some unrelated software.

The same uid / gid (101) is used both for alpine and ubuntu.

Number 101 is used by default in openshift, and was used by all clickhouse-server docker images
before 20.10. In 20.11 it was changed (by accident) to 999.
2021-01-14 23:37:27 +01:00
filimonov
f8dc5cc740
Update alpine-build.sh 2021-01-11 18:35:20 +01:00
Mikhail Filimonov
9f22bcefb0
Docker: better server entrypoint 2021-01-11 18:24:49 +01:00
Alexey Milovidov
42f63e14b5 Revert "Auto version update to [21.2.1.1] [54446]"
This reverts commit bc2593688e.
2021-01-11 11:32:52 +03:00
robot-clickhouse
bc2593688e Auto version update to [21.2.1.1] [54446] 2021-01-11 11:12:11 +03:00
Alexey Milovidov
c7d4d12f72 Auto version update to [21.1.0] [54445] 2021-01-11 03:51:08 +03:00
Alexey Milovidov
5bdf287910 Check for conflict markers in docs 2020-12-22 00:55:54 +03:00
alexey-milovidov
19af691aa6
Merge pull request #17738 from vklimontovich/docker-cli-example
Docker cli example
2020-12-14 19:44:13 +03:00
filimonov
b08842d44e
Update README.md 2020-12-14 16:54:37 +01:00
filimonov
1436986a86
Update README.md 2020-12-14 16:53:58 +01:00
filimonov
bca41bb7fd
Update README.md 2020-12-14 16:50:48 +01:00
Guillaume Tassery
4920bba7de Override value for running scripts on docker-entrypoint-initdb.d with CLICKHOUSE_INIT_TIMEOUT 2020-12-05 09:53:15 +07:00
Vladimir Klimontovich
9bf5ab9f4c
Removed unnecessary mapping 2020-12-02 19:01:31 +03:00
Vladimir Klimontovich
274c87d4c7
Remove extra space 2020-12-02 19:00:23 +03:00
Vladimir Klimontovich
d402d68071
Added HTTP CLI example and expose 8123 port
Exposing the 8123 (HTTP) interface in basic example and giving CLI connection instruction makes it easier to start. For a lot of developers, curl is a native and very familiar tool
2020-12-02 18:26:16 +03:00
robot-clickhouse
dc19fba36f Auto version update to [20.13.1.1] [54444] 2020-11-23 10:29:26 +03:00
robot-clickhouse
f7b7854ace Auto version update to [20.12.1.1] [54443] 2020-11-05 21:52:50 +03:00
Mikhail Filimonov
d126024248
Docker alpine build 2020-10-28 13:58:38 +01:00
robot-clickhouse
554fa482e6 Auto version update to [20.11.1.1] [54442] 2020-10-10 18:39:58 +03:00
alekseik1
a4a5b96d4a
do not expose ClickHouse server until initialization is complete 2020-09-24 20:11:12 +03:00
robot-clickhouse
8def718661 Auto version update to [20.10.1.1] [54440] 2020-09-08 17:04:41 +03:00
robot-clickhouse
e2fa0eae2f Auto version update to [20.9.1.1] [54439] 2020-08-31 23:07:41 +03:00
robot-clickhouse
a82c0f5371 Auto version update to [20.8.1.1] [54438] 2020-08-07 21:45:49 +03:00
robot-clickhouse
0f23642a3d Auto version update to [20.7.1.1] [54437] 2020-07-13 18:26:03 +03:00
Ivan Blinkov
9b26afc885
Update Dockerfile 2020-07-06 13:44:47 +03:00
Ivan Blinkov
96eb38121e
Update Dockerfile 2020-07-06 11:20:56 +03:00
Ivan Blinkov
99443057b6
Update Dockerfile 2020-07-04 00:55:00 +03:00
Ivan Blinkov
b81c66a031
[docker] install ca-certificates before the first apt-get update (#12095)
* [docker] install ca-certificates before first apt-get update

* Update Dockerfile
2020-07-02 22:16:21 +03:00
Ivan Blinkov
b9b7abe816
revert e9d3c48f56 2020-07-02 12:31:18 +03:00
Ivan Blinkov
e9d3c48f56
Update Dockerfile 2020-07-02 12:28:23 +03:00
robot-clickhouse
4bd47b8adc Auto version update to [20.6.1.1] [54436] 2020-06-22 20:40:26 +03:00
Alexey Milovidov
bba0cf6064 Remove dependency on tzdata 2020-06-20 15:31:18 +03:00
giordyb
d61da39c10
Update entrypoint.sh
without -q option the database does not get created at startup
2020-06-11 17:23:02 +02:00
Ivan Blinkov
f6b5cd7de2
Update Dockerfile 2020-06-10 22:26:44 +03:00
Ivan Blinkov
3d9424fd5a perl -pi -e 's/repo\.yandex\.ru\/clickhouse/repo.clickhouse.tech/g' {} 2020-06-10 21:54:55 +03:00
Ivan Starkov
bdcf1170ce
Instead of forcing IPv4 protocol force wget to use protocols in order 2020-06-09 16:32:49 +03:00
Ivan Starkov
32772073ea
Fix docker-entrypoint-initdb.d wait
Fixes 'Address family not supported by protocol' for any docker-entrypoint-initdb.d script.

wget uses 'localhost' which resolves for both ipv4 and ipv6 with current config (/etc/hosts) and so the wget fails _(Address family not supported by protocol)_ and does not retry.

Forcing it to use IPv4 fixes the issue
2020-06-09 13:52:21 +03:00
Ilya
bc773be0e4
Fix package name in docker file: tzata -> tzdata 2020-05-28 13:30:29 +03:00
alesapin
a014a74e8a Return tzdata 2020-05-14 21:37:13 +03:00
Paramtamtam
a55c6763d6
Default user creation fixed 2020-05-04 13:30:05 +05:00
Paramtamtam
cbcd3b9a76
Small fixes 2020-05-04 12:27:57 +05:00
Paramtamtam
a4e61c9556
Revert unimportant changes 2020-05-04 12:20:20 +05:00
Paramtamtam
c75a631ff4
Changes after CR(2) 2020-05-04 12:11:35 +05:00
Paramtamtam
54e24aa6ff
CR changes 2020-05-04 01:04:00 +05:00
Paramtamtam
7dcb74ab7c
Default user and database creation on image starting added 2020-05-03 23:15:18 +05:00
robot-clickhouse
de4e88ff97 Auto version update to [20.5.1.1] [54435] 2020-04-28 20:12:16 +03:00
filimonov
db689843e1
add CA certificates to clickhouse-docker image 2020-04-24 10:52:47 +02:00
Alexey Milovidov
beaa686639 Remove dependency 2020-04-22 06:23:10 +03:00
robot-clickhouse
6a4e022a3b Auto version update to [20.4.1.1] [54434] 2020-03-12 16:07:08 +03:00
robot-clickhouse
473e1eac6f Auto version update to [20.3.1.1] [54433] 2020-02-22 00:35:33 +03:00
Ilya Mazaev
7940cab381
Update dockerfile for server
fix issue#6608
2020-01-29 15:59:48 +03:00
Azat Khuzhin
c2a7021e37 Add ability to change user/group for clickhouse-server docker image
This will allow to create files owned by subuid/subgid if docker is
running with userns.
2020-01-26 19:37:58 +03:00
robot-clickhouse
e8e820cfd4 Auto version update to [20.2.1.1] [54432] 2020-01-13 22:21:08 +03:00
Alexey Milovidov
93c82158d3 Update build instructions according to new libraries from contrib 2019-12-20 01:13:42 +03:00
robot-clickhouse
6d56509109 Auto version update to [19.19.1.1] [54430] 2019-12-06 17:22:00 +03:00
robot-clickhouse
94c7719c73 Auto version update to [19.18.1.1] [54429] 2019-11-08 11:36:41 +03:00
robot-clickhouse
7381489d5d Auto version update to [19.17.1.1] [54428] 2019-10-21 15:48:00 +03:00
robot-clickhouse
06e1a9d78e Auto version update to [19.16.1.1] [54427] 2019-09-24 14:47:32 +03:00
Alexey Milovidov
8579c26efb Changed repository URL 2019-09-23 19:18:19 +03:00
robot-clickhouse
04d2bb9cfd Auto version update to [19.15.1.1] [54426] 2019-09-06 17:58:33 +03:00
robot-clickhouse
58e03ad7b9 Auto version update to [19.13.1.1] [54425] 2019-07-23 11:20:52 +03:00
robot-clickhouse
f635d2bd9b Auto version update to [19.12.1.1] [54424] 2019-07-10 22:57:53 +03:00
Korviakov Andrey
0a012d65ad update documentation for docker image: fix 2019-06-24 15:07:59 +03:00
Korviakov Andrey
18ebc2ec60 update documentation for docker image 2019-06-24 15:01:45 +03:00
Korviakov Andrey
bf28000d4a pr #5321 fix 2019-06-24 14:45:04 +03:00
chertus
29700fd5e9 Auto version update to [19.11.0] [54423] 2019-06-21 18:47:02 +03:00
robot-clickhouse
9cd889c9dd Auto version update to [19.10.1.1] [54422] 2019-06-14 17:04:15 +03:00
robot-clickhouse
1ecc430335 Auto version update to [19.9.1.1] [54421] 2019-05-28 13:52:55 +03:00
robot-clickhouse
2e7f3f6e17 Auto version update to [19.8.1.1] [54420] 2019-04-29 22:33:13 +03:00
robot-clickhouse
ee8f3e1384 Auto version update to [19.7.1.1] [54419] 2019-04-19 00:01:42 +03:00
Mikhail f. Shiryaev
87abf1f38e Issue #4947, add check for empty variable 2019-04-10 14:29:04 +02:00
alexey-milovidov
32700242be
Merge branch 'master' into test_runner_for_stateless_tests 2019-04-04 22:26:10 +03:00
robot-clickhouse
55df5b016f Auto version update to [19.6.1.1] [54418] 2019-04-02 19:28:19 +03:00
Vasily Nemkov
9b5950f403 Fixed test failures when running clickhouse-server on different host
Fixed test in docker: writing to read-only filesystem
Multi-stage builds for test-runner and server to allow putting packages directory anywhere
Fixed more tests
2019-03-30 15:38:07 +03:00
Mikhail f. Shiryaev
fc5f5969de Use argument for gosu version instead of hardcode 2019-03-22 13:29:19 +01:00
Mikhail f. Shiryaev
ebc04d05fb Add way to launch container as custom user 2019-03-21 17:18:44 +01:00
robot-clickhouse
72324ae09e Auto version update to [19.5.1.1] [54417] 2019-03-09 10:45:08 +03:00
robot-clickhouse
daec753af6 Auto version update to [19.4.1] [54416] 2019-03-09 01:10:00 +03:00
robot-clickhouse
ecc05e2bba Auto version update to [19.4.0] [54416] 2019-03-08 18:18:39 +03:00
robot-clickhouse
d8abd09457 Auto version update to [19.3.4] [54415] 2019-02-15 14:50:37 +03:00
Vasily Nemkov
be64f57f7b Test runner script and corresponding Dockerfile and docker-compose. 2019-02-13 22:23:44 +03:00
robot-clickhouse
cfab694978 Auto version update to [19.3.3] [54415] 2019-02-13 18:36:20 +03:00
robot-clickhouse
ec99ce1ab5 Auto version update to [19.3.2] [54415] 2019-02-13 16:17:07 +03:00
robot-clickhouse
7665ef297f Auto version update to [19.3.1] [54415] 2019-02-12 21:42:14 +03:00
robot-clickhouse
b141657e61 Auto version update to [19.3.0] [54415] 2019-02-11 18:13:23 +03:00
robot-clickhouse
dbde962a6b Auto version update to [19.2.0] [54414] 2019-02-09 14:13:07 +03:00
robot-clickhouse
51dd2198f0 Auto version update to [19.1.6] [54413] 2019-01-24 00:17:07 +03:00
robot-clickhouse
9481d01ca8 Auto version update to [19.1.5] [54413] 2019-01-22 22:18:30 +03:00
robot-clickhouse
24fc3ad544 Auto version update to [19.1.4] [54413] 2019-01-22 02:29:09 +03:00
robot-clickhouse
436cf294db Auto version update to [19.1.3] [54413] 2019-01-21 16:26:13 +03:00
robot-clickhouse
dfe0a734cd Auto version update to [19.1.2] [54413] 2019-01-21 12:48:35 +03:00
robot-clickhouse
6047636296 Auto version update to [19.1.1] [54413] 2019-01-16 14:04:37 +03:00