2021-09-06 11:33:39 +00:00
|
|
|
# docker build -t clickhouse/performance-comparison .
|
2023-02-23 13:05:18 +00:00
|
|
|
|
2023-08-13 04:48:19 +00:00
|
|
|
ARG FROM_TAG=latest
|
|
|
|
FROM clickhouse/test-base:$FROM_TAG
|
2020-01-16 19:39:07 +00:00
|
|
|
|
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-02-12 16:09:46 +00:00
|
|
|
bash \
|
|
|
|
curl \
|
2020-10-22 12:52:43 +00:00
|
|
|
dmidecode \
|
2020-02-12 16:09:46 +00:00
|
|
|
g++ \
|
2020-04-22 19:41:40 +00:00
|
|
|
gdb \
|
2020-02-12 16:09:46 +00:00
|
|
|
git \
|
2020-06-25 20:19:27 +00:00
|
|
|
gnuplot \
|
|
|
|
imagemagick \
|
2020-02-17 19:32:40 +00:00
|
|
|
libc6-dbg \
|
2020-02-12 16:09:46 +00:00
|
|
|
moreutils \
|
|
|
|
ncdu \
|
2020-07-22 13:18:57 +00:00
|
|
|
numactl \
|
2020-02-12 16:09:46 +00:00
|
|
|
p7zip-full \
|
2020-02-27 19:43:43 +00:00
|
|
|
parallel \
|
2020-02-12 16:09:46 +00:00
|
|
|
psmisc \
|
2022-02-13 09:46:20 +00:00
|
|
|
python3 \
|
|
|
|
python3-dev \
|
2020-02-12 16:09:46 +00:00
|
|
|
python3-pip \
|
2020-11-27 04:20:41 +00:00
|
|
|
python3-setuptools \
|
2020-02-14 12:55:47 +00:00
|
|
|
rsync \
|
2020-02-12 16:09:46 +00:00
|
|
|
tree \
|
|
|
|
tzdata \
|
|
|
|
vim \
|
|
|
|
wget \
|
2022-01-11 19:14:18 +00:00
|
|
|
rustc \
|
|
|
|
cargo \
|
2023-01-08 02:20:42 +00:00
|
|
|
ripgrep \
|
|
|
|
zstd \
|
2022-09-12 15:43:50 +00:00
|
|
|
&& pip3 --no-cache-dir install 'clickhouse-driver==0.2.1' scipy \
|
2019-12-26 21:33:10 +00:00
|
|
|
&& apt-get purge --yes python3-dev g++ \
|
|
|
|
&& apt-get autoremove --yes \
|
2020-01-10 14:06:07 +00:00
|
|
|
&& apt-get clean \
|
2024-01-29 13:00:22 +00:00
|
|
|
&& rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/*
|
2019-12-26 19:16:36 +00:00
|
|
|
|
2023-12-18 08:07:22 +00:00
|
|
|
COPY run.sh /
|
2019-12-26 19:16:36 +00:00
|
|
|
|
2023-12-18 08:07:22 +00:00
|
|
|
CMD ["bash", "/run.sh"]
|
2019-12-26 21:33:10 +00:00
|
|
|
|
2021-09-06 11:33:39 +00:00
|
|
|
# docker run --network=host --volume <workspace>:/workspace --volume=<output>:/output -e PR_TO_TEST=<> -e SHA_TO_TEST=<> clickhouse/performance-comparison
|