mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 01:41:59 +00:00
35 lines
1.0 KiB
Docker
35 lines
1.0 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 \
|
|
libreadline-dev \
|
|
ninja-build \
|
|
perl \
|
|
pkg-config \
|
|
python \
|
|
python-lxml \
|
|
python-requests \
|
|
python-termcolor \
|
|
sudo \
|
|
tzdata \
|
|
gperf \
|
|
libcctz-dev
|
|
|
|
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"]
|