Implement a builder
还没有人认领这个 Issue。
评估
这个 Issue 还没有评估数据。
描述
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
- 主要语言
- Python
- 星标
- 576
- 派生
- 29
- 平均合并
- 51 分钟
- 30 天内合并 PR
- 14
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/openserverless 的其他 Issue
-
help wanted
难度 3/5 1-2 天 新手友好度 45/100
apache/openserverless#252 ·
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
apache/openserverless#215 ·
-
bug
难度 4/5 3-5 天 新手友好度 58/100
apache/openserverless#214 ·
-
bug
难度 4/5 3-5 天 新手友好度 72/100
apache/openserverless#213 ·
-
help wanted
难度 5/5 一周以上 新手友好度 15/100
apache/openserverless#195 ·
查看 apache/openserverless 的全部 Issue
相似的 Issue
-
area: harness bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
Human-Agent-Society/reef#625 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 80/100
learningequality/kolibri#15351 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
Name consistency 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
eellak/triplestore#65 · 1 条评论 ·