Implement a builder
Nobody has claimed this yet.
Assessment
This issue has not been assessed yet.
Description
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
- Dominant language
- Python
- Stars
- 576
- Forks
- 29
- Avg merge
- 51m
- Merged PRs (30d)
- 14
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/openserverless
-
help wanted
Difficulty 3/5 1-2 days Newbie friendliness 45/100
apache/openserverless#252 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
apache/openserverless#215 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 58/100
apache/openserverless#214 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 72/100
apache/openserverless#213 ·
-
help wanted
Difficulty 5/5 Over a week Newbie friendliness 15/100
apache/openserverless#195 ·
All issues in apache/openserverless
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
canonical/paas-charm#368 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
StevenBlack/hosts#3256 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
qualcomm/qai-appbuilder#275 ·