openfaas / templates

OpenFaaS Classic templates
https://www.openfaas.com
MIT License
276 stars 228 forks source link

Update node17 template (and prior, if you have time) to use chown from Docker #300

Closed alexellis closed 1 year ago

alexellis commented 1 year ago

Update node17 template (and prior, if you have time) to use chown from Docker

Expected Behaviour

Where possible, when copying files between stages or from the build context, use Docker's own chown command.

Current Behaviour

Not used

Steps to Reproduce (for bugs)

  1. Create a new function and install something big and slow like the AWS SDK
  2. Try faas-cli build and see how it goes?
  3. After, I hope it should be quicker

Example of a large function to build

https://github.com/alexellis/gumroad-custom-workflow

NikhilSharmaWe commented 1 year ago

@alexellis I think this issue is resolved now. We can close this issue now.

alexellis commented 1 year ago

Remind me why?