2018-12-29 10:10:35 +00:00
|
|
|
FROM ubuntu:18.10
|
2018-10-04 17:07:00 +00:00
|
|
|
|
|
|
|
RUN apt-get update -y \
|
|
|
|
&& env DEBIAN_FRONTEND=noninteractive \
|
|
|
|
apt-get install --yes --no-install-recommends \
|
|
|
|
bash \
|
|
|
|
cmake \
|
|
|
|
curl \
|
|
|
|
gcc-7 \
|
|
|
|
g++-7 \
|
|
|
|
gcc-8 \
|
|
|
|
g++-8 \
|
|
|
|
clang-6.0 \
|
|
|
|
lld-6.0 \
|
|
|
|
libclang-6.0-dev \
|
|
|
|
liblld-6.0-dev \
|
2018-12-29 10:10:35 +00:00
|
|
|
llvm-6.0 \
|
|
|
|
libllvm6.0 \
|
|
|
|
llvm-6.0-dev \
|
|
|
|
clang-7 \
|
|
|
|
lld-7 \
|
|
|
|
libclang-7-dev \
|
|
|
|
liblld-7-dev \
|
|
|
|
llvm-7 \
|
|
|
|
libllvm7 \
|
|
|
|
llvm-7-dev \
|
|
|
|
libicu-dev \
|
2018-10-04 17:07:00 +00:00
|
|
|
libreadline-dev \
|
|
|
|
ninja-build \
|
|
|
|
git
|
|
|
|
|
|
|
|
CMD mkdir -p build/build_result && cd build/build_result && cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSANITIZE=$SANITIZER && ninja && mv ./dbms/programs/clickhouse* /output
|