Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Implement a builder

未关闭
#156 3 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

还没有人认领这个 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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/openserverless 的其他 Issue

查看 apache/openserverless 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。