2019-06-04 13:01:16 +00:00
|
|
|
# docker build -t yandex/clickhouse-integration-test .
|
2018-11-21 12:05:31 +00:00
|
|
|
FROM ubuntu:18.04
|
2018-11-21 10:09:16 +00:00
|
|
|
|
2019-07-09 19:41:22 +00:00
|
|
|
RUN echo "deb [trusted=yes] http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main" >> /etc/apt/sources.list
|
|
|
|
|
2019-05-21 06:17:46 +00:00
|
|
|
RUN apt-get update \
|
2019-07-09 19:41:22 +00:00
|
|
|
&& env DEBIAN_FRONTEND=noninteractive apt-get -y install tzdata python llvm-6.0 llvm-6.0-dev libreadline-dev libicu-dev bsdutils llvm-8 \
|
2019-05-21 06:17:46 +00:00
|
|
|
&& rm -rf \
|
|
|
|
/var/lib/apt/lists/* \
|
|
|
|
/var/cache/debconf \
|
|
|
|
/tmp/* \
|
|
|
|
&& apt-get clean
|
2018-11-21 10:09:16 +00:00
|
|
|
|
|
|
|
ENV TZ=Europe/Moscow
|
|
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
2019-03-21 09:21:56 +00:00
|
|
|
|
2019-05-22 08:43:27 +00:00
|
|
|
RUN echo "TSAN_OPTIONS='halt_on_error=1 history_size=7'" >> /etc/environment; \
|
|
|
|
echo "UBSAN_OPTIONS='print_stacktrace=1'" >> /etc/environment; \
|
|
|
|
echo "ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-6.0/bin/llvm-symbolizer" >> /etc/environment; \
|
2019-07-09 19:41:22 +00:00
|
|
|
echo "TSAN_SYMBOLIZER_PATH=/usr/lib/llvm-8/bin/llvm-symbolizer" >> /etc/environment; \
|
2019-05-22 08:43:27 +00:00
|
|
|
echo "UBSAN_SYMBOLIZER_PATH=/usr/lib/llvm-6.0/bin/llvm-symbolizer" >> /etc/environment; \
|
|
|
|
echo "LLVM_SYMBOLIZER_PATH=/usr/lib/llvm-6.0/bin/llvm-symbolizer" >> /etc/environment;
|