兼容使用force update的repo

This commit is contained in:
Xinglin Qiang 2021-06-15 10:57:28 +08:00
parent 882622b1f7
commit 9e3ae5f74b

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 \