mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-06-13 04:08:57 +00:00
修复entrypoint.sh在UNRAID中777权限无法执行问题
This commit is contained in:
@ -13,7 +13,7 @@ use IYUU\Library\Table;
|
|||||||
class AutoReseed
|
class AutoReseed
|
||||||
{
|
{
|
||||||
// 版本号
|
// 版本号
|
||||||
const VER = '1.10.18';
|
const VER = '1.10.19';
|
||||||
// RPC连接
|
// RPC连接
|
||||||
private static $links = [];
|
private static $links = [];
|
||||||
// 客户端配置
|
// 客户端配置
|
||||||
|
@ -82,7 +82,7 @@ RUN set -ex \
|
|||||||
&& cp /IYUU/config/config.sample.php /IYUU/config/config.php \
|
&& cp /IYUU/config/config.sample.php /IYUU/config/config.php \
|
||||||
&& ln -sf /IYUU/config/config.php /config.php \
|
&& ln -sf /IYUU/config/config.php /config.php \
|
||||||
&& cp /IYUU/docker/entrypoint.sh /entrypoint.sh \
|
&& cp /IYUU/docker/entrypoint.sh /entrypoint.sh \
|
||||||
&& chmod -R 777 /entrypoint.sh \
|
&& chmod +x /entrypoint.sh \
|
||||||
&& apk del --purge *-dev \
|
&& apk del --purge *-dev \
|
||||||
&& rm -rf /var/cache/apk/* /tmp/* /usr/share/man /usr/share/php7 \
|
&& rm -rf /var/cache/apk/* /tmp/* /usr/share/man /usr/share/php7 \
|
||||||
# ---------- some config,clear work ----------
|
# ---------- some config,clear work ----------
|
||||||
|
@ -18,7 +18,7 @@ RUN set -ex \
|
|||||||
&& cp /IYUU/config/config.sample.php /IYUU/config/config.php \
|
&& cp /IYUU/config/config.sample.php /IYUU/config/config.php \
|
||||||
&& ln -sf /IYUU/config/config.php /config.php \
|
&& ln -sf /IYUU/config/config.php /config.php \
|
||||||
&& cp /IYUU/docker/entrypoint.sh /entrypoint.sh \
|
&& cp /IYUU/docker/entrypoint.sh /entrypoint.sh \
|
||||||
&& chmod -R 777 /entrypoint.sh \
|
&& chmod +x /entrypoint.sh \
|
||||||
&& apk del --purge *-dev \
|
&& apk del --purge *-dev \
|
||||||
&& rm -rf /var/cache/apk/* /tmp/* /usr/share/man \
|
&& rm -rf /var/cache/apk/* /tmp/* /usr/share/man \
|
||||||
&& echo "${TZ}" > /etc/timezone \
|
&& echo "${TZ}" > /etc/timezone \
|
||||||
|
Reference in New Issue
Block a user