ClickHouse/docker/builder/Dockerfile

34 lines
1.0 KiB
Docker
Raw Normal View History

FROM ubuntu:18.04
2016-12-17 04:19:55 +00:00
2018-09-21 22:00:57 +00:00
RUN apt-get update -y \
&& apt-get install -y software-properties-common \
&& add-apt-repository ppa:ubuntu-toolchain-r/test \
2018-09-21 22:00:57 +00:00
&& env DEBIAN_FRONTEND=noninteractive \
apt-get install --yes --no-install-recommends \
bash \
ccache \
cmake \
curl \
expect \
g++-9 \
gcc-9 \
2018-09-21 22:00:57 +00:00
libreadline-dev \
ninja-build \
perl \
pkg-config \
python \
python-lxml \
python-requests \
python-termcolor \
sudo \
2019-04-18 10:20:31 +00:00
tzdata \
gperf
2016-12-17 04:19:55 +00:00
2019-08-11 09:30:01 +00:00
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
2018-09-21 22:00:57 +00:00
COPY build.sh /
2016-12-17 04:19:55 +00:00
2018-09-21 22:00:57 +00:00
CMD ["/bin/bash", "/build.sh"]