2020-07-09 11:21:23 +00:00
|
|
|
# docker build -t yandex/clickhouse-fuzzer .
|
2021-01-17 20:54:00 +00:00
|
|
|
FROM yandex/clickhouse-test-base
|
2020-07-09 11:21:23 +00:00
|
|
|
|
|
|
|
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 \
|
|
|
|
ca-certificates \
|
|
|
|
libc6-dbg \
|
|
|
|
moreutils \
|
|
|
|
ncdu \
|
|
|
|
p7zip-full \
|
|
|
|
parallel \
|
|
|
|
psmisc \
|
|
|
|
rsync \
|
|
|
|
tree \
|
|
|
|
tzdata \
|
|
|
|
vim \
|
|
|
|
wget \
|
|
|
|
&& apt-get autoremove --yes \
|
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
COPY * /
|
|
|
|
|
2020-07-30 13:43:22 +00:00
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
CMD set -o pipefail \
|
|
|
|
&& cd /workspace \
|
2020-07-09 11:55:54 +00:00
|
|
|
&& /run-fuzzer.sh 2>&1 | ts "$(printf '%%Y-%%m-%%d %%H:%%M:%%S\t')" | tee main.log
|
2020-07-09 11:21:23 +00:00
|
|
|
|
|
|
|
# docker run --network=host --volume <workspace>:/workspace -e PR_TO_TEST=<> -e SHA_TO_TEST=<> yandex/clickhouse-fuzzer
|
|
|
|
|