aboutsummaryrefslogtreecommitdiffstats
path: root/build/release/Dockerfile
blob: 76944f40c48431337a408b210b1fd15f57e36908 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y build-essential autoconf automake libtool pkg-config cmake libssl-dev libacl1-dev libbz2-dev liblzma-dev libzip-dev liblz4-dev libzstd-dev lzop groff ghostscript bsdmainutils zip
ADD . $HOME/libarchive/
ADD "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" $HOME/libarchive/build/autoconf/config.guess
ADD "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" $HOME/libarchive/build/autoconf/config.sub
WORKDIR $HOME/libarchive
RUN /bin/sh build/clean.sh
RUN /bin/sh build/autogen.sh
ENV SKIP_OPEN_FD_ERR_TEST=1 SKIP_TEST_SPARSE=1
RUN ./configure
RUN make V=1 distcheck