sciabarracom opened a new issue, #156:
URL: https://github.com/apache/openserverless/issues/156
## 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/install
```
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)
## 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](https://github.com/genuinetools/img) to build
the image quckly
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]