mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 22:12:21 +00:00
41 lines
1.1 KiB
Docker
41 lines
1.1 KiB
Docker
# docker build -t yandex/clickhouse-performance-comparison .
|
|
FROM ubuntu:18.04
|
|
|
|
ENV LANG=C.UTF-8
|
|
ENV TZ=Europe/Moscow
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
RUN apt-get update \
|
|
&& DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends \
|
|
bash \
|
|
curl \
|
|
g++ \
|
|
gdb \
|
|
git \
|
|
libc6-dbg \
|
|
moreutils \
|
|
ncdu \
|
|
p7zip-full \
|
|
parallel \
|
|
psmisc \
|
|
python3 \
|
|
python3-dev \
|
|
python3-pip \
|
|
rsync \
|
|
tree \
|
|
tzdata \
|
|
vim \
|
|
wget \
|
|
&& pip3 --no-cache-dir install clickhouse_driver \
|
|
&& apt-get purge --yes python3-dev g++ \
|
|
&& apt-get autoremove --yes \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY * /
|
|
|
|
CMD /entrypoint.sh
|
|
|
|
# docker run --network=host --volume <workspace>:/workspace --volume=<output>:/output -e PR_TO_TEST=<> -e SHA_TO_TEST=<> yandex/clickhouse-performance-comparison
|
|
|