12306
12306 copied to clipboard
项目使用docker-compose启动失败
描述问题
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
截图&日志
环境信息
- macOS 13.0.1
- Python 3.9.6
- 订票小助手版本 1.1.101
额外的备注
- Add any other context about the problem here.
一样报错,怎么解决呀
"https://dl.lancdn.com/landian/soft/chrome/m/"到这个网站上看一下,"77.0.3865.120_amd64.deb"这个版本的chrome包已经没了
找一个对应版本的包改一下
但是新版的这个浏览器装不上,最好还是网上找chrome(linux)的旧版本
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
可以改成这个地址。