2021-09-06 11:33:39 +00:00
|
|
|
# docker build -t clickhouse/style-test .
|
2020-08-14 13:09:23 +00:00
|
|
|
FROM ubuntu:20.04
|
|
|
|
|
2021-08-23 08:22:39 +00:00
|
|
|
RUN sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list
|
|
|
|
|
2021-02-20 19:18:49 +00:00
|
|
|
RUN apt-get update && env DEBIAN_FRONTEND=noninteractive apt-get install --yes \
|
|
|
|
shellcheck \
|
|
|
|
libxml2-utils \
|
|
|
|
git \
|
|
|
|
python3-pip \
|
|
|
|
pylint \
|
|
|
|
yamllint \
|
2021-10-12 18:06:26 +00:00
|
|
|
&& pip3 install codespell
|
2020-08-14 13:09:23 +00:00
|
|
|
|
2021-02-26 11:43:58 +00:00
|
|
|
COPY run.sh /
|
|
|
|
COPY process_style_check_result.py /
|
|
|
|
CMD ["/bin/bash", "/run.sh"]
|