优化webui-aria2镜像

This commit is contained in:
KennyLee 2019-06-27 16:47:41 +08:00
parent 037ca903b7
commit 49c784029a
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,9 @@
# webui-aria2
## 说明
更新时,更新 `image-build` 目录为https://github.com/ziahamza/webui-aria2
## 配置修改
注意修改 `.env` 文件中的配置
@ -8,3 +12,5 @@
* [ziahamza/webui-aria2](https://github.com/ziahamza/webui-aria2)
* [fsaimon/aria2.conf](https://github.com/fsaimon/aria2.conf)

View File

@ -1,11 +1,11 @@
FROM registry.cn-hangzhou.aliyuncs.com/kennylee/debian:stretch
FROM debian:8
# less priviledge user, the id should map the user the downloaded files belongs to
RUN groupadd -r dummy && useradd -r -g dummy dummy -u 1000
# webui + aria2
RUN apt-get update \
&& apt-get install -y aria2 busybox \
&& apt-get install -y aria2 busybox curl unzip \
&& rm -rf /var/lib/apt/lists/*
ADD . /webui-aria2