Implement a builder
Chưa có ai nhận issue này.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Why you need it?
We now support building custom runtimes for actions with requirements, modules and moving foward for compiling actions with java and dotnet
The ide deploy can now creates a Dockerfile to add dependencies to a runtime,
we need a service to build them and deploy in the internal registry
the build service should be invoked by the builder when a new image to build is detected
How it could be?
Using the rest api server of the operator, I would add a "build" action accepting:
{
"source": "apache/python:123",
"target: "msciab:hash",
"kind": "python",
"file": "<body of the build file>"
}
the builder will then create a dockerfile like this
FROM <source>
ADD <requirements> /tmp/requirements
RUN /bin/extend
We will update the runtimes to have the NEW /bin/install script that will will manage and install the requirements in the proper way for the various languages (pip install with python, npm install with node, maven with java, and so on)
Note if the build fails, the error message should clearly communitate if you need to update installing the registry or update the runtimes to use a newer, extendisble runtime
Other related information
do not accept any name different from the namespace otherwise the user could change other people images.
the builder could use img to build the image quckly
- Ngôn ngữ chính
- Python
- Star
- 576
- Fork
- 29
- Merge trung bình
- 51 phút
- Pull request đã merge (30 ngày)
- 14
Hướng dẫn đóng góp
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.
Issue khác của apache/openserverless
-
help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
apache/openserverless#252 ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
apache/openserverless#215 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
apache/openserverless#214 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 72/100
apache/openserverless#213 ·
-
Add Keycloak as a SSO service Đang mởhelp wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
apache/openserverless#195 ·
Tất cả issue của apache/openserverless
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
huggingface/Repo2RLEnv#163 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
NousResearch/hermes-agent#121143 ·