2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-28 16:06:34 +01:00

updare aria2

This commit is contained in:
kev
2021-09-06 12:01:13 +08:00
parent 67a00953be
commit 4f461507ef
4 changed files with 24 additions and 24 deletions

View File

@@ -5,15 +5,15 @@
FROM alpine:3
MAINTAINER EasyPi Software Foundation
ENV TOKEN 00000000-0000-0000-0000-000000000000
ENV TOKEN=00000000-0000-0000-0000-000000000000
RUN set -xe \
&& apk add --no-cache aria2 \
&& aria2c https://github.com/tianon/gosu/releases/download/1.12/gosu-amd64 -o /usr/local/bin/gosu \
&& aria2c https://github.com/tianon/gosu/releases/download/1.14/gosu-amd64 -o /usr/local/bin/gosu \
&& chmod +x /usr/local/bin/gosu \
&& adduser -D aria2
COPY aria2.conf /etc/aria2/
COPY ./data/aria2.conf /etc/aria2/
VOLUME /home/aria2 /etc/aria2
WORKDIR /home/aria2