2021-09-06 11:33:39 +00:00
|
|
|
# docker build -t clickhouse/unbundled-builder .
|
|
|
|
FROM clickhouse/deb-builder
|
2020-08-18 14:16:40 +00:00
|
|
|
|
2020-10-26 16:41:38 +00:00
|
|
|
RUN export CODENAME="$(lsb_release --codename --short | tr 'A-Z' 'a-z')" \
|
2021-07-19 11:30:42 +00:00
|
|
|
&& wget -nv -O /tmp/arrow-keyring.deb "https://apache.jfrog.io/artifactory/arrow/ubuntu/apache-arrow-apt-source-latest-${CODENAME}.deb" \
|
2020-10-26 16:41:38 +00:00
|
|
|
&& dpkg -i /tmp/arrow-keyring.deb
|
|
|
|
|
2021-08-23 08:22:39 +00:00
|
|
|
RUN sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list
|
|
|
|
|
2020-08-18 14:16:40 +00:00
|
|
|
# Libraries from OS are only needed to test the "unbundled" build (that is not used in production).
|
2020-08-25 03:11:01 +00:00
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install \
|
|
|
|
libicu-dev \
|
|
|
|
gperf \
|
|
|
|
perl \
|
|
|
|
pkg-config \
|
|
|
|
devscripts \
|
|
|
|
libc++-dev \
|
|
|
|
libc++abi-dev \
|
2021-09-06 15:58:08 +00:00
|
|
|
libboost-all-dev \
|
2020-08-25 03:11:01 +00:00
|
|
|
zlib1g-dev \
|
|
|
|
liblz4-dev \
|
|
|
|
libdouble-conversion-dev \
|
|
|
|
libxml2-dev \
|
|
|
|
librdkafka-dev \
|
|
|
|
libgoogle-perftools-dev \
|
|
|
|
libzstd-dev \
|
|
|
|
libltdl-dev \
|
|
|
|
libre2-dev \
|
|
|
|
libjemalloc-dev \
|
|
|
|
libmsgpack-dev \
|
|
|
|
libcurl4-openssl-dev \
|
|
|
|
unixodbc-dev \
|
|
|
|
odbcinst \
|
|
|
|
tzdata \
|
|
|
|
alien \
|
|
|
|
libcapnp-dev \
|
|
|
|
cmake \
|
|
|
|
gdb \
|
|
|
|
pigz \
|
|
|
|
moreutils \
|
|
|
|
libcctz-dev \
|
|
|
|
libldap2-dev \
|
|
|
|
libsasl2-dev \
|
|
|
|
libgsasl7-dev \
|
|
|
|
heimdal-multidev \
|
|
|
|
libhyperscan-dev \
|
|
|
|
libbrotli-dev \
|
|
|
|
protobuf-compiler \
|
|
|
|
libprotoc-dev \
|
|
|
|
libgrpc++-dev \
|
2020-09-30 22:28:23 +00:00
|
|
|
protobuf-compiler-grpc \
|
2020-11-12 14:49:12 +00:00
|
|
|
libc-ares-dev \
|
2020-08-25 03:11:01 +00:00
|
|
|
rapidjson-dev \
|
|
|
|
libsnappy-dev \
|
2021-07-30 13:50:26 +00:00
|
|
|
libparquet-dev \
|
2020-08-25 03:11:01 +00:00
|
|
|
libthrift-dev \
|
|
|
|
libutf8proc-dev \
|
|
|
|
libbz2-dev \
|
|
|
|
libavro-dev \
|
|
|
|
libfarmhash-dev \
|
2020-10-04 02:24:08 +00:00
|
|
|
librocksdb-dev \
|
2020-10-22 08:48:57 +00:00
|
|
|
libgflags-dev \
|
2020-08-25 03:11:01 +00:00
|
|
|
libmysqlclient-dev \
|
|
|
|
--yes --no-install-recommends
|
2020-08-18 14:16:40 +00:00
|
|
|
|
2020-08-27 16:06:40 +00:00
|
|
|
COPY build.sh /
|
2020-08-18 14:16:40 +00:00
|
|
|
|
|
|
|
CMD ["/bin/bash", "/build.sh"]
|