aboutsummaryrefslogtreecommitdiffstats
path: root/build/release/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'build/release/Dockerfile')
-rw-r--r--build/release/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/build/release/Dockerfile b/build/release/Dockerfile
new file mode 100644
index 000000000000..76944f40c484
--- /dev/null
+++ b/build/release/Dockerfile
@@ -0,0 +1,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