mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-28 16:06:34 +01:00
updare aria2
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user