Docker services on my home NAS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
488 B

ARG ALPINE_VERSION=latest
FROM alpine:${ALPINE_VERSION}
ARG APK_MIRROR=dl-cdn.alpinelinux.org
ENV APPEND_OPTS=""
COPY aria2.run /usr/local/bin/
COPY aria2.conf.template /etc/aria2/
RUN sed -i "s/dl-cdn.alpinelinux.org/${APK_MIRROR}/g" /etc/apk/repositories && \
apk --no-cache --no-progress add aria2 && \
mkdir -p /var/aria2 && \
chmod 777 /var/aria2 && \
chmod 777 /etc/aria2 && \
rm -rf /tmp/*
#EXPOSE 6800
VOLUME ["/mnt/downloads"]
ENTRYPOINT ["aria2.run"]