修复entrypoint.sh在UNRAID中777权限无法执行问题

This commit is contained in:
david
2020-12-31 00:23:41 +08:00
parent ae63bfca89
commit 7b2e82c506
3 changed files with 3 additions and 3 deletions

View File

@ -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 = [];
// 客户端配置 // 客户端配置

View File

@ -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 ----------

View File

@ -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 \