Add custom dpkg to deb build image

This commit is contained in:
alesapin 2019-09-17 19:42:18 +03:00
parent e9b7bd7ed7
commit dccac1993f

View File

@ -79,9 +79,17 @@ RUN apt-get --allow-unauthenticated update -y \
alien \
libcapnp-dev \
cmake \
gdb
gdb \
pigz
# Special dpkg-deb (https://github.com/alesapin/dpkg) version which is able
# to compress files using pigz (https://zlib.net/pigz/) instead of gzip.
# Significantly increase deb packaging speed and compatible with old systems
RUN curl -O https://clickhouse-builds.s3.yandex.net/utils/dpkg-deb
RUN chmod +x dpkg-deb
RUN cp dpkg-deb /usr/bin
COPY build.sh /
CMD ["/bin/bash", "/build.sh"]