/templates

Official OpenFaaS language templates

Primary LanguageJavaMIT LicenseMIT

templates

Official OpenFaaS templates.

Build Status

To find out more about the OpenFaaS templates see the faas-cli.

Note: The templates are completely customizable - so if you want to alter them please do fork them and use faas template pull to make use of your updated versions.

The current version of OpenFaaS templates use the original watchdog which forks processes - a bit like CGI. The newer watchdog of-watchdog is more similar to fastCGI/HTTP and should be used for any benchmarking or performance testing along with one of the newer templates. Contact the project for more information.

Submit your own template to the template store

This repository is for templates supported by the project maintainers, if you'd like to submit your own template to the OpenFaaS Template Store then checkout the store:

Contribute to this repository

See contributing guide.

License

This project is part of the OpenFaaS project licensed under the MIT License.

Templates in store

Name Language Version Linux base Watchdog Link
node NodeJS 12.13.0 Alpine Linux of-watchdog NodeJS template
csharp C# N/A Debian GNU/Linux 9 classic C# template
dockerfile Dockerfile N/A Alpine Linux classic Dockerfile template
dockerfile-armhf Dockerfile for ARMHF N/A Alpine Linux 3.10 classic Dockerfile template
go-armhf Go 1.11 Alpine Linux classic Go armhf template
go Go 1.11 Alpine Linux classic Go template
java8 Java 8 OpenJDK Alpine Linux of-watchdog Java template
node-arm64 NodeJS 12.13.0 N/A classic NodeJS arm64 template
node-armhf NodeJS N/A Alpine Linux classic NodeJS armhf template
node NodeJS 12.13.0 Alpine Linux classic NodeJS template
php7 PHP 7.2 Alpine Linux classic PHP 7 template
python-armhf Python 2.7 Alpine Linux classic Python 2.7 armhf template
python Python 2.7 Alpine Linux classic Python 2.7 template
python3-armhf Python 3.6 Alpine Linux classic Python 3.6 armhf template
python3 Python 3 Alpine Linux classic Python 3 template
ruby Ruby 2.5.1 Alpine Linux 3.7 classic Ruby template

For more information on the templates check out the docs.

See also: of-watchdog.