2021-09-06 11:33:39 +00:00
|
|
|
# docker build -t clickhouse/stress-test .
|
|
|
|
FROM clickhouse/stateful-test
|
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"
|
2020-07-14 14:47:23 +00:00
|
|
|
CMD ["/bin/bash", "/run.sh"]
|