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.
This repository contains the Classic OpenFaaS templates, but many more are available in the Template Store. Read above for more information.
Name | Language | Version | Linux base | Watchdog | Link |
---|---|---|---|---|---|
dockerfile | Dockerfile | N/A | Alpine Linux | classic | Dockerfile template |
go | Go | 1.20 | Alpine Linux | classic | Go template |
node14 | NodeJS | 14 | Alpine Linux | of-watchdog | NodeJS template |
node16 | NodeJS | 16 | Alpine Linux | of-watchdog | NodeJS template |
node17 | NodeJS | 17 | Alpine Linux | of-watchdog | NodeJS template |
node18 | NodeJS | 18 | Alpine Linux | of-watchdog | NodeJS template |
node20 | NodeJS | 20 | Alpine Linux | of-watchdog | NodeJS template |
bun-express | Bun | 1.0 | Alpine Linux | of-watchdog | NodeJS template |
node | NodeJS | 20 | Alpine Linux | classic | NodeJS template |
python3 | Python | 3 | Alpine Linux | classic | Python 3 template |
python3-debian | Python | 3 | Debian Linux | classic | Python 3 Debian template |
python | Python | 2.7 | Alpine Linux | classic | Python 2.7 template |
java11-vert-x | Java and Vert.x | 11 | Debian GNU/Linux | of-watchdog | Java LTS template |
java11 | Java | 11 | Debian GNU/Linux | of-watchdog | Java LTS template |
ruby | Ruby | 2.7 | Alpine Linux 3.11 | classic | Ruby template |
php7 | PHP | 7.4 | Alpine Linux | classic | PHP 7 template |
php8 | PHP | 8.2 | Alpine Linux | classic | PHP 8 template |
csharp | C# | N/A | Debian GNU/Linux 9 | classic | C# template |
For more information on the templates check out the docs.
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.
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:
See contributing guide.
This project is part of the OpenFaaS project licensed under the MIT License.