OCI Function with a custom image

OCI Function with a custom image

As we have seen from my other articles, it is possible to use the FN project with different programming languages using predefined container images, the officially supported languages are: go java Node.js ruby Python C# you can do it with the runtime directive, for example: fn init --runtime python test the command will produce a func.yaml file of this type 1 2 3 4 5 6 7 8 schema_version: 20180708 name: hello version: 0.0.1 runtime: python build_image: fnproject/python:3.9-dev run_image: fnproject/python:3.9 entrypoint: /python/bin/fdk /function/func.py handler memory: 256 However, in some cases, the predefined images are not sufficient, either for extra language support, extra drivers, or other missing tools. ...

May 12, 2023 · 2 min · Enrico Pesce