2022-01-13 18:03:34 +00:00
|
|
|
# rebuild in #33610
|
2021-09-06 11:33:39 +00:00
|
|
|
# docker build -t clickhouse/stateful-test .
|
2021-12-24 15:10:06 +00:00
|
|
|
ARG FROM_TAG=latest
|
|
|
|
FROM clickhouse/stateless-test:$FROM_TAG
|
2019-01-21 08:46:28 +00:00
|
|
|
|
|
|
|
RUN apt-get update -y \
|
|
|
|
&& env DEBIAN_FRONTEND=noninteractive \
|
|
|
|
apt-get install --yes --no-install-recommends \
|
2020-10-02 16:54:07 +00:00
|
|
|
python3-requests \
|
2022-07-18 15:20:09 +00:00
|
|
|
nodejs \
|
|
|
|
npm \
|
2022-06-10 12:51:18 +00:00
|
|
|
&& apt-get clean
|
2019-01-21 08:46:28 +00:00
|
|
|
|
|
|
|
COPY s3downloader /s3downloader
|
|
|
|
|
2022-03-28 13:53:22 +00:00
|
|
|
ENV S3_URL="https://clickhouse-datasets.s3.amazonaws.com"
|
2019-01-21 08:46:28 +00:00
|
|
|
ENV DATASETS="hits visits"
|
2022-02-16 13:18:55 +00:00
|
|
|
|
2022-07-18 15:20:09 +00:00
|
|
|
RUN npm install -g azurite
|
2022-12-19 20:29:35 +00:00
|
|
|
RUN npm install tslib
|
2022-07-18 15:20:09 +00:00
|
|
|
|
2020-07-08 08:41:39 +00:00
|
|
|
COPY run.sh /
|
|
|
|
CMD ["/bin/bash", "/run.sh"]
|