From 1b8f0b89d6bd25842b9fe33b503886727006bae6 Mon Sep 17 00:00:00 2001 From: Sandeep Rajput Date: Sat, 24 Oct 2020 12:39:58 +0530 Subject: [PATCH] adding Dockerfile to build docker images --- Dockerfile | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..bdf2fc3d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,48 @@ +apt install libgnutls28-dev +apt install nettle-dev +apt install libgmp-dev +apt install libssh2-1-dev +apt install libc-ares-dev +apt install libxml2-dev +apt install zlib1g-dev +apt install libsqlite3-dev +apt install pkg-config + +# You can use libgcrypt-dev instead of nettle-dev and libgmp-dev +#apt install libgcrypt-dev + +apt install libgpg-error-dev +apt install libgcrypt-dev + +# You can use libssl-dev instead of libgnutls-dev, nettle-dev, libgmp-dev, libgpg-error-dev and libgcrypt-dev + +apt install libssl-dev + +# You can use libexpat1-dev instead of libxml2-dev + +apt install libexpat1-dev + + +apt install libxml2-dev +apt install libcppunit-dev +apt install autoconf +apt install automake +apt install autotools-dev +apt install autopoint +apt install libtool + + +autoreconf -i + +./configure + + +apt install python3-pip +pip3 install sphinx + +make +cp ./src/aria2c ../../ +make clean + + +aria2c --enable-dht=true --seed-time=0 --seed-ratio=0.1 -j 7 \ No newline at end of file