-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker build编译报错 #1160
Comments
官方确实没有这个版本 |
arm 可以考虑直接用 git action 构建。有个 personal image 的 action,个人仓库会生效。 |
解决了吗? |
Same Issue: |
solution: ps: This solution will increase the size of the image In my case: |
cool |
例行检查
你的版本
4.7
4.7
问题描述
docker build编译报错
复现步骤
docker build -t fastgpt --build-arg name=app .
预期结果
相关截图
.../[email protected]/node_modules/canvas install$ node-pre-gyp install --fallback-to-build --update-binary .../[email protected]/node_modules/canvas install: node-pre-gyp info it worked if it ends with ok .../[email protected]/node_modules/canvas install: node-pre-gyp info using [email protected] .../[email protected]/node_modules/canvas install: node-pre-gyp info using [email protected] | linux | arm64 .../[email protected]/node_modules/canvas install: node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v108-linux-musl-arm64.tar.gz .../[email protected]/node_modules/canvas install: node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v108-linux-musl-arm64.tar.gz .../[email protected]/node_modules/canvas install: node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v108 ABI, musl) (falling back to source compile with node-gyp) .../[email protected]/node_modules/canvas install: node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v108-linux-musl-arm64.tar.gz .../[email protected]/node_modules/canvas install: gyp info it worked if it ends with ok .../[email protected]/node_modules/canvas install: gyp info using [email protected] .../[email protected]/node_modules/canvas install: gyp info using [email protected] | linux | arm64 .../[email protected]/node_modules/canvas install: gyp info ok .../[email protected]/node_modules/canvas install: gyp info it worked if it ends with ok .../[email protected]/node_modules/canvas install: gyp info using [email protected] .../[email protected]/node_modules/canvas install: gyp info using [email protected] | linux | arm64 .../[email protected]/node_modules/canvas install: gyp ERR! find Python .../[email protected]/node_modules/canvas install: gyp ERR! find Python Python is not set from command line or npm configuration .../[email protected]/node_modules/canvas install: gyp ERR! find Python Python is not set from environment variable PYTHON
The text was updated successfully, but these errors were encountered: