mirror of
https://github.com/AlistGo/alist.git
synced 2025-06-19 19:51:23 +08:00
* fix(ci): modify the method of adding permissions * fix(build): modify the method of adding permissions(to keep up with ci)
This commit is contained in:
@ -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/
|
||||||
|
Reference in New Issue
Block a user