兼容使用force update的repo (#341)

This commit is contained in:
Xinglin Qiang 2021-06-29 10:48:01 +08:00 committed by GitHub
parent 2f8d31658b
commit 6c3f848b2c

View File

@ -30,6 +30,9 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
&& touch ~/.bashrc \
&& mkdir /run/nginx \
&& git clone -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} \
&& git config --global user.email "qinglong@@users.noreply.github.com" \
&& git config --global user.name "qinglong" \
&& git config --global pull.rebase true \
&& cd ${QL_DIR} \
&& cp -f .env.example .env \
&& chmod 777 ${QL_DIR}/shell/*.sh \