mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 05:03:20 +00:00
e97e172dd8
Rollback changes from #28016: ru.archive.ubuntu.com
20 lines
557 B
Docker
20 lines
557 B
Docker
# docker build -t clickhouse/style-test .
|
|
FROM ubuntu:20.04
|
|
|
|
# ARG for quick switch to a given ubuntu mirror
|
|
ARG apt_archive="http://archive.ubuntu.com"
|
|
RUN sed -i "s|http://archive.ubuntu.com|$apt_archive|g" /etc/apt/sources.list
|
|
|
|
RUN apt-get update && env DEBIAN_FRONTEND=noninteractive apt-get install --yes \
|
|
shellcheck \
|
|
libxml2-utils \
|
|
git \
|
|
python3-pip \
|
|
pylint \
|
|
yamllint \
|
|
&& pip3 install codespell PyGithub boto3 unidiff dohq-artifactory
|
|
|
|
COPY run.sh /
|
|
COPY process_style_check_result.py /
|
|
CMD ["/bin/bash", "/run.sh"]
|