2022-01-13 18:03:34 +00:00
|
|
|
# rebuild in #33610
|
2021-09-06 11:33:39 +00:00
|
|
|
# docker build -t clickhouse/stress-test .
|
2021-12-24 15:10:06 +00:00
|
|
|
ARG FROM_TAG=latest
|
|
|
|
FROM clickhouse/stateful-test:$FROM_TAG
|
2018-10-22 14:31:25 +00:00
|
|
|
|
|
|
|
RUN apt-get update -y \
|
|
|
|
&& env DEBIAN_FRONTEND=noninteractive \
|
|
|
|
apt-get install --yes --no-install-recommends \
|
|
|
|
bash \
|
|
|
|
tzdata \
|
|
|
|
fakeroot \
|
|
|
|
debhelper \
|
|
|
|
parallel \
|
|
|
|
expect \
|
2020-10-02 16:54:07 +00:00
|
|
|
python3 \
|
|
|
|
python3-lxml \
|
|
|
|
python3-termcolor \
|
|
|
|
python3-requests \
|
2018-10-22 14:31:25 +00:00
|
|
|
curl \
|
|
|
|
sudo \
|
|
|
|
openssl \
|
|
|
|
netcat-openbsd \
|
2019-03-28 09:29:48 +00:00
|
|
|
telnet \
|
2020-03-28 12:01:55 +00:00
|
|
|
llvm-9 \
|
2019-04-23 10:41:01 +00:00
|
|
|
brotli
|
|
|
|
|
2018-10-22 14:31:25 +00:00
|
|
|
COPY ./stress /stress
|
2020-07-14 14:47:23 +00:00
|
|
|
COPY run.sh /
|
2018-10-22 14:31:25 +00:00
|
|
|
|
2019-06-25 12:04:05 +00:00
|
|
|
ENV DATASETS="hits visits"
|
2021-11-01 10:32:56 +00:00
|
|
|
ENV S3_URL="https://clickhouse-datasets.s3.yandex.net"
|
2022-02-23 13:58:44 +00:00
|
|
|
ENV EXPORT_S3_STORAGE_POLICIES=1
|
2021-11-01 10:32:56 +00:00
|
|
|
|
2020-07-14 14:47:23 +00:00
|
|
|
CMD ["/bin/bash", "/run.sh"]
|