Repository for sources of ClickHouse in Docker Official Library
The repo provides sources for clickhouse.
The content here is autogenerated by the official_docker.py and shouldn't be edited manually.
The script has two working modes:
- Generating source-tree for
docker build
command inserver
orkeeper
directory - Generating LDF (Library Definition File) for official-images repository
After new releases are created, one should follow the next steps:
- Clone this repository to
$LDF_SRC_DIR
and ClickHouse/ClickHouse somewhere nearby. - Run the script from ClickHouse/ClickHouse repository:
python tests/ci/official_docker.py generate-tree -vvv --directory $LDF_SRC_DIR --dockerfile-glob Dockerfile.ubuntu --build --commit
- Regenerate the LDF:
python tests/ci/official_docker.py generate-ldf -vvv --directory ../docker-library --dockerfile-glob Dockerfile.ubuntu --commit
- Push changes to our fork of docker-library and create a pull request in the upstream.
The documentation sources live in docker/server/README.src directory.
- Update the corresponding part of the sources.
- Launch README.sh and update the
README.md
in upstream. - Copy sources to our fork of docker-library/docs, remove the part between comments, related to our repository, and make a pull request.