Note: These values often dictate the user/group that the Docker container will be running as. So if the Docker container accesses a specific drive share, with specific permissions, then thePUIDandPGIDvalues will specify the user/group that will be used by the Docker container. This post was ...
chown -R ${PUID}:${PGID} /opt/alist/umask ${UMASK}if [ "$1" = "version" ]; then ./alist version else if [ "$RUN_ARIA2" = "true" ]; then chown -R ${PUID}:${PGID} /opt/aria2/ exec su-exec ${PUID}:${PGID} nohup aria2c \...
{TARGETPLATFORM}/alist ./ COPY entrypoint.sh /entrypoint.sh RUN apk update && \ apk upgrade --no-cache && \ apk add --no-cache bash ca-certificates su-exec tzdata; \ chmod +x /entrypoint.sh && \ rm -rf /var/cache/apk/* && \ /entrypoint.sh version ENV PUID=0 PGID=0 UMASK=...