&& chmod -R 777 /IYUU/docker/entrypoint.sh \

This commit is contained in:
david 2020-12-22 00:24:35 +08:00
parent 849370e26a
commit 1ff415ea91
3 changed files with 3 additions and 0 deletions

View File

@ -81,6 +81,7 @@ RUN set -ex \
&& git clone https://gitee.com/ledc/IYUUAutoReseed.git /IYUU \ && git clone https://gitee.com/ledc/IYUUAutoReseed.git /IYUU \
&& 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 \
&& chmod -R 777 /IYUU/docker/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

@ -81,6 +81,7 @@ RUN set -ex \
&& git clone https://gitee.com/ledc/IYUUAutoReseed.git /IYUU \ && git clone https://gitee.com/ledc/IYUUAutoReseed.git /IYUU \
&& 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 \
&& chmod -R 777 /IYUU/docker/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

@ -17,6 +17,7 @@ RUN set -ex \
&& git clone https://gitee.com/ledc/IYUUAutoReseed.git /IYUU \ && git clone https://gitee.com/ledc/IYUUAutoReseed.git /IYUU \
&& 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 \
&& chmod -R 777 /IYUU/docker/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 \