2019-12-26 19:16:36 +00:00
|
|
|
# docker build -t yandex/clickhouse-performance-comparison .
|
2019-12-26 21:33:10 +00:00
|
|
|
FROM ubuntu:18.04
|
2019-12-26 19:16:36 +00:00
|
|
|
|
2020-01-16 19:39:07 +00:00
|
|
|
ENV TZ=Europe/Moscow
|
|
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
|
2019-12-26 21:33:10 +00:00
|
|
|
RUN apt-get update \
|
2020-01-14 19:05:58 +00:00
|
|
|
&& DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends \
|
2020-01-21 13:42:12 +00:00
|
|
|
p7zip-full bash git moreutils ncdu wget psmisc python3 python3-pip tzdata tree python3-dev g++ \
|
2019-12-26 21:33:10 +00:00
|
|
|
&& pip3 --no-cache-dir install clickhouse_driver \
|
|
|
|
&& apt-get purge --yes python3-dev g++ \
|
|
|
|
&& apt-get autoremove --yes \
|
2020-01-10 14:06:07 +00:00
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2019-12-26 19:16:36 +00:00
|
|
|
|
|
|
|
COPY * /
|
|
|
|
|
2019-12-26 21:33:10 +00:00
|
|
|
CMD /entrypoint.sh
|
|
|
|
|
2020-01-10 14:06:07 +00:00
|
|
|
# docker run --network=host --volume <workspace>:/workspace --volume=<output>:/output -e PR_TO_TEST=<> -e SHA_TO_TEST=<> yandex/clickhouse-performance-comparison
|
2019-12-26 21:33:10 +00:00
|
|
|
|