更新 Dockerfile
Some checks failed
BuildImage / build-image (push) Failing after 38s

This commit is contained in:
李寻欢 2024-01-15 14:35:40 +08:00
parent 199f227846
commit 1838dd765b

View File

@ -15,12 +15,10 @@ ADD ${WECHAT_URL} WeChatSetup.exe
# 安装微信 # 安装微信
COPY install-wechat.sh install-wechat.sh COPY install-wechat.sh install-wechat.sh
RUN apt install -y net-tools && bash -c 'nohup /entrypoint.sh 2>&1 &' && \ RUN bash -c 'nohup /entrypoint.sh 2>&1 &' && sleep 10
sleep 10 && \ RUN sudo apt install -y net-tools
sudo chown app:app WeChatSetup.exe && \ RUN sudo chown app:app WeChatSetup.exe && ./install-wechat.sh
./install-wechat.sh && \ RUN rm -rf WeChatSetup.exe && rm -rf install-wechat.sh
rm -rf WeChatSetup.exe && \
rm -rf install-wechat.sh
# 下载wxhelper.dll # 下载wxhelper.dll
ADD ${WXHELPER_URL} wxhelper.dll ADD ${WXHELPER_URL} wxhelper.dll