12306 icon indicating copy to clipboard operation
12306 copied to clipboard

项目使用docker-compose启动失败

Open BrowLi opened this issue 2 years ago • 3 comments

描述问题

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

环境信息

  • macOS 13.0.1
  • Python 3.9.6
  • 订票小助手版本 1.1.101

额外的备注

  • Add any other context about the problem here.

BrowLi avatar Jan 12 '23 07:01 BrowLi

一样报错,怎么解决呀

ylliu avatar Apr 14 '23 07:04 ylliu

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

2421715443 avatar Apr 14 '23 15:04 2421715443

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

可以改成这个地址。

clanngel avatar Apr 20 '23 06:04 clanngel