Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

能否在release给出现成的docker镜像 #92

Open
DokiDoki1103 opened this issue Jan 30, 2025 · 0 comments
Open

能否在release给出现成的docker镜像 #92

DokiDoki1103 opened this issue Jan 30, 2025 · 0 comments

Comments

@DokiDoki1103
Copy link

用户环境build很容易报错

 => ERROR [libriichi_build 5/6] RUN cargo build -p libriichi --lib --release                                                                                                                  0.6s
------                                                                                                                                                                                             
 > [libriichi_build 5/6] RUN cargo build -p libriichi --lib --release:                                                                                                                             
0.516 error: failed to load manifest for workspace member `/exe-wrapper`                                                                                                                           
0.516 referenced by workspace at `/Cargo.toml`                                                                                                                                                     
0.516                                                                                                                                                                                              
0.516 Caused by:                                                                                                                                                                                   
0.516   failed to read `/exe-wrapper/Cargo.toml`                                                                                                                                                   
0.516                                                                                                                                                                                              
0.516 Caused by:                                                                                                                                                                                   
0.516   No such file or directory (os error 2)                                                                                                                                                     
------
Dockerfile:14
--------------------
  12 |     COPY libriichi libriichi
  13 |     
  14 | >>> RUN cargo build -p libriichi --lib --release
  15 |     
  16 |     # -----
--------------------
ERROR: failed to solve: process "/bin/sh -c cargo build -p libriichi --lib --release" did not complete successfully: exit code: 101

虽然报错没有文件,但是文件确实存在

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant