mirror of https://github.com/Xhofe/alist
* fix(ci): modify the method of adding permissions * fix(build): modify the method of adding permissions(to keep up with ci)pull/8361/head
parent
52d4e8ec47
commit
b449312da8
|
@ -32,10 +32,9 @@ RUN apk update && \
|
||||||
/opt/aria2/.aria2/tracker.sh ; \
|
/opt/aria2/.aria2/tracker.sh ; \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
COPY --from=builder /app/bin/alist ./
|
COPY --chmod=755 --from=builder /app/bin/alist ./
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY --chmod=755 entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /opt/alist/alist && \
|
RUN /entrypoint.sh version
|
||||||
chmod +x /entrypoint.sh && /entrypoint.sh version
|
|
||||||
|
|
||||||
ENV PUID=0 PGID=0 UMASK=022 RUN_ARIA2=${INSTALL_ARIA2}
|
ENV PUID=0 PGID=0 UMASK=022 RUN_ARIA2=${INSTALL_ARIA2}
|
||||||
VOLUME /opt/alist/data/
|
VOLUME /opt/alist/data/
|
||||||
|
|
|
@ -24,10 +24,9 @@ RUN apk update && \
|
||||||
/opt/aria2/.aria2/tracker.sh ; \
|
/opt/aria2/.aria2/tracker.sh ; \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
COPY /build/${TARGETPLATFORM}/alist ./
|
COPY --chmod=755 /build/${TARGETPLATFORM}/alist ./
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY --chmod=755 entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /opt/alist/alist && \
|
RUN /entrypoint.sh version
|
||||||
chmod +x /entrypoint.sh && /entrypoint.sh version
|
|
||||||
|
|
||||||
ENV PUID=0 PGID=0 UMASK=022 RUN_ARIA2=${INSTALL_ARIA2}
|
ENV PUID=0 PGID=0 UMASK=022 RUN_ARIA2=${INSTALL_ARIA2}
|
||||||
VOLUME /opt/alist/data/
|
VOLUME /opt/alist/data/
|
||||||
|
|
Loading…
Reference in New Issue