Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Implement a builder

Aperta
#156 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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

Lingua principale
Python
Stelle
576
Fork
29
Merge medio
51m
PR unite (30g)
14

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/openserverless

Tutte le issue di apache/openserverless

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.