mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
39 lines
1009 B
Docker
39 lines
1009 B
Docker
# docker build -t yandex/clickhouse-fuzzer .
|
|
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 \
|
|
ca-certificates \
|
|
curl \
|
|
gdb \
|
|
git \
|
|
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 * /
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
CMD set -o pipefail \
|
|
&& cd /workspace \
|
|
&& /run-fuzzer.sh 2>&1 | ts "$(printf '%%Y-%%m-%%d %%H:%%M:%%S\t')" | tee main.log
|
|
|
|
# docker run --network=host --volume <workspace>:/workspace -e PR_TO_TEST=<> -e SHA_TO_TEST=<> yandex/clickhouse-fuzzer
|
|
|