mirror of
https://gitee.com/kennylee/docker.git
synced 2024-11-29 10:29:07 +08:00
优化webui-aria2镜像
This commit is contained in:
parent
037ca903b7
commit
49c784029a
@ -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)
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user