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
|
|
|
|
2019-12-26 21:33:10 +00:00
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install --yes --no-install-recommends \
|
|
|
|
p7zip-full bash ncdu wget python3 python3-pip python3-dev g++ \
|
|
|
|
&& pip3 --no-cache-dir install clickhouse_driver \
|
|
|
|
&& apt-get purge --yes python3-dev g++ \
|
|
|
|
&& apt-get autoremove --yes \
|
|
|
|
&& apt-get clean
|
2019-12-26 19:16:36 +00:00
|
|
|
|
|
|
|
COPY * /
|
|
|
|
|
2019-12-26 21:33:10 +00:00
|
|
|
CMD /entrypoint.sh
|
|
|
|
|
|
|
|
# docker run --network=host --volume <workspace>:/workspace --volume=<output>:/output -e LEFT_PR=<> -e LEFT_SHA=<> -e RIGHT_PR=<> -e RIGHT_SHA=<> yandex/clickhouse-performance-comparison
|
|
|
|
|