mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
38 lines
1.1 KiB
Docker
38 lines
1.1 KiB
Docker
FROM ubuntu:18.04
|
|
|
|
RUN apt-get update -y \
|
|
&& apt-get install -y software-properties-common \
|
|
&& add-apt-repository ppa:ubuntu-toolchain-r/test \
|
|
&& env DEBIAN_FRONTEND=noninteractive \
|
|
apt-get install --yes --no-install-recommends \
|
|
bash \
|
|
ccache \
|
|
cmake \
|
|
curl \
|
|
expect \
|
|
g++-9 \
|
|
gcc-9 \
|
|
libclang-6.0-dev \
|
|
libicu-dev \
|
|
liblld-6.0-dev \
|
|
libreadline-dev \
|
|
gperf \
|
|
ninja-build \
|
|
perl \
|
|
pkg-config \
|
|
python \
|
|
python-lxml \
|
|
python-requests \
|
|
python-termcolor \
|
|
sudo \
|
|
tzdata \
|
|
gperf
|
|
|
|
RUN apt install -y wget
|
|
RUN printf "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main\ndeb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main" >> /etc/apt/sources.list \
|
|
&& wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && apt update && apt-get install -y clang-8 lldb-8 lld-8
|
|
|
|
COPY build.sh /
|
|
|
|
CMD ["/bin/bash", "/build.sh"]
|