Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a template for node18 #296

Open
1 of 2 tasks
radicand opened this issue Jul 3, 2022 · 1 comment
Open
1 of 2 tasks

Add a template for node18 #296

radicand opened this issue Jul 3, 2022 · 1 comment

Comments

@radicand
Copy link

radicand commented Jul 3, 2022

Expected Behaviour

Today there are templates for various NodeJS versions. Node 18 is out, but there is no template for it. Node 18 is particularly interesting because it bundles fetch() natively, reducing the need for dependencies within functions.

Current Behaviour

Use a current NodeJS image, but with a shim/package to add fetch support.

Are you a GitHub Sponsor (Yes/No?)

No

Check at: https://github.com/sponsors/openfaas

  • Yes
  • No

List All Possible Solutions and Workarounds

Create a new template for Node18
Continue to shim/add dependencies to functions

Which Solution Do You Recommend?

Creating a new template for Node18

Steps to Reproduce (for bugs)

N/A

Context

I'm writing functions that interact with http-based backends primarily and am looking to keep them as slim as possible.

Thanks for considering this!

Your Environment

N/A

@maiermic
Copy link

I assume that this issue can be closed, since there is a template for Node.js 18 in the meantime: https://github.com/openfaas/templates/tree/master/template/node18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants