flyctl icon indicating copy to clipboard operation
flyctl copied to clipboard

Redwood Dockerfile uses node 16 as base but current Redwood requires Node 20

Open Roadmaster opened this issue 8 months ago • 0 comments

Describe the bug This was flagged by a support customer.

"Redwood required node =20.x but the base image generated by fly launch is using 16.3. Just FYI"

  • Operating system (unknown)
  • fly version (unknown)

** Paste your fly.toml (unknown)

I checked and https://github.com/superfly/flyctl/blob/master/scanner/templates/redwood/Dockerfile hard-codes ARG BASE_IMAGE=node:16.13.0-alpine - this is tunable with --build-args BASE_IMAGE=whatever but I wonder if:

  • Is there a way to detect the version of node based on the version of redwood?
  • Does it make sense to update the default Dockerfile for new projects to use the node base that the current version of redwood requires?

Roadmaster avatar Jun 21 '24 17:06 Roadmaster