mirror of
https://github.com/casjaysdevdocker/aria2
synced 2025-01-18 12:34:31 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
0424231d4c
commit
1481911852
@ -1,7 +1,7 @@
|
|||||||
FROM casjaysdevdocker/alpine:latest AS build
|
FROM casjaysdevdocker/alpine:latest AS build
|
||||||
|
|
||||||
ARG ALPINE_VERSION="v3.16"
|
ARG ALPINE_VERSION="v3.16"
|
||||||
ARG ARIANG_VERSION="1.2.4 "
|
ARG ARIANG_VERSION="1.2.4"
|
||||||
|
|
||||||
ARG DEFAULT_DATA_DIR="/usr/local/share/template-files/data" \
|
ARG DEFAULT_DATA_DIR="/usr/local/share/template-files/data" \
|
||||||
DEFAULT_CONF_DIR="/usr/local/share/template-files/config" \
|
DEFAULT_CONF_DIR="/usr/local/share/template-files/config" \
|
||||||
@ -30,7 +30,7 @@ RUN set -ex; \
|
|||||||
unzip /tmp/AriaNg-$ARIANG_VERSION.zip && \
|
unzip /tmp/AriaNg-$ARIANG_VERSION.zip && \
|
||||||
mkdir -p /var/www/ariang && \
|
mkdir -p /var/www/ariang && \
|
||||||
rsync -ahP /tmp/ariang/. /var/www/ariang/ && \
|
rsync -ahP /tmp/ariang/. /var/www/ariang/ && \
|
||||||
rm -Rf /tmp/ariang /tmp/AriaNg-$ARIANG_VERSION.zip
|
rm -Rf /tmp/ariang /tmp/AriaNg-$ARIANG_VERSION.zip /etc/nginx/.
|
||||||
|
|
||||||
RUN echo 'Running cleanup' ; \
|
RUN echo 'Running cleanup' ; \
|
||||||
rm -Rf /usr/share/doc/* /usr/share/info/* /tmp/* /var/tmp/* ; \
|
rm -Rf /usr/share/doc/* /usr/share/info/* /tmp/* /var/tmp/* ; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user