mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 10:31:57 +00:00
5390d1b108
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
50 lines
1.3 KiB
Docker
50 lines
1.3 KiB
Docker
# docker build -t clickhouse/performance-comparison .
|
|
|
|
ARG FROM_TAG=latest
|
|
FROM clickhouse/test-base:$FROM_TAG
|
|
|
|
RUN apt-get update \
|
|
&& DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends \
|
|
bash \
|
|
curl \
|
|
dmidecode \
|
|
g++ \
|
|
git \
|
|
gnuplot \
|
|
imagemagick \
|
|
libc6-dbg \
|
|
moreutils \
|
|
ncdu \
|
|
numactl \
|
|
p7zip-full \
|
|
parallel \
|
|
psmisc \
|
|
python3 \
|
|
python3-dev \
|
|
python3-pip \
|
|
rsync \
|
|
tree \
|
|
tzdata \
|
|
vim \
|
|
wget \
|
|
rustc \
|
|
cargo \
|
|
ripgrep \
|
|
zstd \
|
|
&& apt-get purge --yes python3-dev g++ \
|
|
&& apt-get autoremove --yes \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/*
|
|
|
|
COPY requirements.txt /
|
|
RUN pip3 --no-cache-dir install -r requirements.txt
|
|
|
|
COPY run.sh /
|
|
|
|
COPY --from=clickhouse/cctools:0d6b90a7a490 /opt/gdb /opt/gdb
|
|
ENV PATH="/opt/gdb/bin:${PATH}"
|
|
|
|
CMD ["bash", "/run.sh"]
|
|
|
|
# docker run --network=host --volume <workspace>:/workspace --volume=<output>:/output -e PR_TO_TEST=<> -e SHA_TO_TEST=<> clickhouse/performance-comparison
|