first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
15
base/aria2/1.18.8/Dockerfile
Normal file
15
base/aria2/1.18.8/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM debian:jessie
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
RUN set -ex \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y wget aria2 \
|
||||
&& apt-get install -y --no-install-recommends cron \
|
||||
&& mkdir -p /usr/aria2/data/
|
||||
|
||||
COPY aria2.conf /usr/aria2/aria2.conf
|
||||
|
||||
CMD set -ex \
|
||||
&& cron \
|
||||
&& aria2c --conf-path=/usr/aria2/aria2.conf
|
11
base/aria2/1.18.8/aria2.conf
Normal file
11
base/aria2/1.18.8/aria2.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
dir=/usr/aria2/data
|
||||
disable-ipv6=true
|
||||
enable-rpc=true
|
||||
max-download-limit=0
|
||||
max-upload-limit=0
|
||||
rpc-allow-origin-all=true
|
||||
rpc-listen-all=true
|
||||
rpc-listen-port=6800
|
||||
rpc-secure=false
|
||||
seed-ratio=0
|
||||
seed-time=0
|
Reference in New Issue
Block a user