Skip to content

openfaas/templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenFaaS Classic 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.

Classic Templates

This repository contains the Classic OpenFaaS templates, but many more are available in the Template Store.

Most of the original Classic Templates are retained or backwards compatibility, but are deprecated.

See: faas-cli template store list to see which templates are both: recommended and official for the language you wish to use.

Name Language Version Linux base Watchdog Link
dockerfile Dockerfile N/A Alpine Linux classic Dockerfile template
node18 NodeJS 18 Alpine Linux of-watchdog NodeJS template (deprecated)
node20 NodeJS 20 Alpine Linux of-watchdog NodeJS 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 Deprecated Java template
java17 Java 11 Debian GNU/Linux of-watchdog Java LTS template
php7 PHP 7.4 Alpine Linux classic PHP 7 template
php8 PHP 8.2 Alpine Linux classic PHP 8 template

For more information on the templates check out the docs.

Moved Classic Templates

A number of long deprecated templates have been moved out of this repository into a new repository to indicate their End Of Life (EOL) status.

In most cases, alternatives have already been provided and are listed int the Function Store, or the Languages section of the OpenFaaS documentation.

Moved templates:

  • go
  • python3
  • python3-debian
  • python27
  • ruby
  • csharp
  • bun-express
  • node

Classic vs of-watchdog templates

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.