Skip to content

Commit

Permalink
Merge pull request #12918 from ajayk/clickhouse-docker
Browse files Browse the repository at this point in the history
clickhouse: add docker entrypoint
  • Loading branch information
ajayk authored Feb 20, 2024
2 parents ff03781 + 7a6ecce commit 1fe74c5
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions clickhouse.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: clickhouse
version: 24.1.5.6
epoch: 0
epoch: 1
description: ClickHouse is the fastest and most resource efficient open-source database for real-time apps and analytics.
copyright:
- license: Apache-2.0
Expand Down Expand Up @@ -56,8 +56,9 @@ pipeline:
- runs: |
cd build
ninja -j $(nproc)
mkdir -p ${{targets.destdir}}/var/lib/clickhouse
mkdir -p ${{targets.destdir}}/var/log/clickhouse-server
DESTDIR=${{targets.destdir}} ninja install
rm -rf ${{targets.destdir}}/usr/lib/debug
- uses: strip
Expand All @@ -75,6 +76,15 @@ subpackages:
mkdir -p ${{targets.subpkgdir}}/usr/share/bash-completion/completions
mv ${{targets.destdir}}/usr/share/bash-completion/completions/clickhouse ${{targets.subpkgdir}}/usr/share/bash-completion/completions
- name: "clickhouse-compat"
description: "docker compat for clickhouse"
pipeline:
- runs: |
cd build
install -Dm755 ../docker/server/entrypoint.sh ${{targets.subpkgdir}}/entrypoint.sh
mkdir -p ${{targets.subpkgdir}}/etc/clickhouse-server/config.d/
cp ../docker/server/docker_related_config.xml ${{targets.subpkgdir}}/etc/clickhouse-server/config.d/docker_related_config.xml
update:
enabled: true
github:
Expand Down

0 comments on commit 1fe74c5

Please sign in to comment.