mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
13 lines
597 B
Docker
13 lines
597 B
Docker
# docker build -t yandex/clickhouse-style-test .
|
|
FROM ubuntu:20.04
|
|
|
|
RUN apt-get update && env DEBIAN_FRONTEND=noninteractive apt-get install --yes shellcheck libxml2-utils git python3-pip && pip3 install codespell
|
|
|
|
|
|
CMD cd /ClickHouse/utils/check-style && \
|
|
./check-style -n | tee /test_output/style_output.txt && \
|
|
./check-typos | tee /test_output/typos_output.txt && \
|
|
./check-whitespaces -n | tee /test_output/whitespaces_output.txt && \
|
|
./check-duplicate-includes.sh | tee /test_output/duplicate_output.txt && \
|
|
./shellcheck-run.sh | tee /test_output/shellcheck_output.txt
|