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