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
930527278e
commit
f6c2d8a5aa
@ -26,14 +26,13 @@ RUN set -ex; \
|
|||||||
echo "http://dl-cdn.alpinelinux.org/alpine/${ALPINE_VERSION}/community" >>"/etc/apk/repositories"; \
|
echo "http://dl-cdn.alpinelinux.org/alpine/${ALPINE_VERSION}/community" >>"/etc/apk/repositories"; \
|
||||||
if [ "${ALPINE_VERSION}" = "edge" ]; then echo "http://dl-cdn.alpinelinux.org/alpine/${ALPINE_VERSION}/testing" >>"/etc/apk/repositories" ; fi ; \
|
if [ "${ALPINE_VERSION}" = "edge" ]; then echo "http://dl-cdn.alpinelinux.org/alpine/${ALPINE_VERSION}/testing" >>"/etc/apk/repositories" ; fi ; \
|
||||||
apk update --update-cache && apk add --no-cache ${PACK_LIST} && \
|
apk update --update-cache && apk add --no-cache ${PACK_LIST} && \
|
||||||
mkdir -p /tmp/ariang /var/www/ariang && \
|
cd /tmp && mkdir -p /tmp/ariang /var/www/ariang && \
|
||||||
curl -q -LSsf https://github.com/mayswind/AriaNg/releases/download/$ARIANG_VERSION/AriaNg-$ARIANG_VERSION.zip -o /tmp/AriaNg-$ARIANG_VERSION.zip && \
|
curl -q -LSsf https://github.com/mayswind/AriaNg/releases/download/$ARIANG_VERSION/AriaNg-$ARIANG_VERSION.zip -o /tmp/AriaNg-$ARIANG_VERSION.zip && \
|
||||||
unzip /tmp/AriaNg-$ARIANG_VERSION.zip && \
|
unzip /tmp/AriaNg-$ARIANG_VERSION.zip && \
|
||||||
rsync -ahP /tmp/ariang/. /var/www/ariang/ && \
|
rsync -ahP /tmp/ariang/. /var/www/ariang/
|
||||||
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/* /etc/nginx/* ; \
|
||||||
rm -Rf /usr/local/bin/.gitkeep /usr/local/bin/.gitkeep /config /data /var/cache/apk/* ; \
|
rm -Rf /usr/local/bin/.gitkeep /usr/local/bin/.gitkeep /config /data /var/cache/apk/* ; \
|
||||||
rm -rf /lib/systemd/system/multi-user.target.wants/* ; \
|
rm -rf /lib/systemd/system/multi-user.target.wants/* ; \
|
||||||
rm -rf /etc/systemd/system/*.wants/* ; \
|
rm -rf /etc/systemd/system/*.wants/* ; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user