MetaCell / MetaCell/NetPyNE-UI
Docker build failed
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 23
- Fork
- 10
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
hellow~,I tried to use the code of the master branch to build the docker image, but it failed. I tried the code of 1.0.0 again and got the same error. Can anyone help me?
OS: Ubuntu 20.04
docker: 24.0.7
terminal logs:
```
45.92 Traceback (most recent call last):
45.92 File "utilities/install.py", line 242, in
45.92 geppetto_branch=args.geppetto_version,
45.92 File "utilities/install.py", line 206, in main
45.92 execute(cmd=['yarn', 'install', '--immutable'], cwd=WEBAPP_DIR)
45.92 File "utilities/install.py", line 38, in execute
45.92 exit_code = subprocess.call(cmd, cwd=cwd, *args, **kwargs)
45.92 File "/opt/conda/lib/python3.7/subprocess.py", line 339, in call
45.92 with Popen(*popenargs, **kwargs) as p:
45.92 File "/opt/conda/lib/python3.7/subprocess.py", line 800, in __init__
45.92 restore_signals, start_new_session)
45.92 File "/opt/conda/lib/python3.7/subprocess.py", line 1551, in _execute_child
45.92 raise child_exception_type(errno_num, err_msg, err_filename)
45.92 FileNotFoundError: [Errno 2] No such file or directory: 'yarn': 'yarn'
------
Dockerfile:50
--------------------
48 | RUN jupyter serverextension enable --py --sys-prefix jupyter_geppetto
49 |
50 | >>> RUN python utilities/install.py ${BUILD_ARGS} --workspace $WORKSPACE_VERSION --no-test
51 |
52 | RUN jupyter labextension disable @jupyterlab/hub-extension
--------------------
ERROR: failed to solve: process "/bin/bash -o pipefail -c python utilities/install.py ${BUILD_ARGS} --workspace $WORKSPACE_VERSION --no-test" did not complete successfully: exit code: 1
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với dòng 50 của Dockerfile và utilities/install.py, đặc biệt là lệnh gọi execute ở dòng 38 và lời gọi yarn install ở dòng 206. Tái hiện quá trình build với các phiên bản Ubuntu và Docker được báo cáo, sau đó xác định tại sao yarn không khả dụng và xác minh rằng image Docker được build thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- docker, javascript, python
- Lĩnh vực
- build-system, devops
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 30/100