testerSunshine / 12306

12306智能刷票,订票
MIT License
33.89k stars 9.79k forks source link

项目使用docker-compose启动失败 #842

Open BrowLi opened 1 year ago

BrowLi commented 1 year ago

描述问题

ERROR [ 6/10] RUN wget -q https://dl.lancdn.com/landian/soft/chrome/m/77.0.3865.120_amd64.deb &&     dpkg -i 77.0.3865.120_amd64.deb && rm -f 77.0.3865.120_amd64.deb                                                                               36.4s
------
 > [ 6/10] RUN wget -q https://dl.lancdn.com/landian/soft/chrome/m/77.0.3865.120_amd64.deb &&     dpkg -i 77.0.3865.120_amd64.deb && rm -f 77.0.3865.120_amd64.deb:
executor failed running [/bin/sh -c wget -q https://dl.lancdn.com/landian/soft/chrome/m/77.0.3865.120_amd64.deb &&     dpkg -i 77.0.3865.120_amd64.deb && rm -f 77.0.3865.120_amd64.deb]: exit code: 8
ERROR: Service 'ticket' failed to build : Build failed

重现步骤

使用docker-compose up --build -d 

截图&日志

image

环境信息

额外的备注

ylliu commented 1 year ago

一样报错,怎么解决呀

edso404 commented 1 year ago

"https://dl.lancdn.com/landian/soft/chrome/m/"到这个网站上看一下,"77.0.3865.120_amd64.deb"这个版本的chrome包已经没了 找一个对应版本的包改一下 但是新版的这个浏览器装不上,最好还是网上找chrome(linux)的旧版本 image

clanngel commented 1 year ago

RUN wget -q https://repo.debiancn.org/debiancn/pool/main/g/google-chrome-stable/google-chrome-stable_77.0.3865.120-1_amd64.deb && \ dpkg -i google-chrome-stable_77.0.3865.120-1_amd64.deb && rm -f google-chrome-stable_77.0.3865.120-1_amd64.deb

可以改成这个地址。