Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

fix: runner failed to start with node 12 images #597

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Conversation

Matthew-Mallimo
Copy link
Member

@Matthew-Mallimo Matthew-Mallimo commented Dec 15, 2023

Provide a general summary of your changes in the Title above.

Description

Describe your changes in detail

when an image provided to the one-app-runner is built with node 12, it would fail to start up.

This is because the flags --no-experimental-fetch and --dns-result-order=ipv4first are not valid for node 12.

This PR fixes #593 by only adding these flags for versions higher than 5.13.0 of one-app, which is the version that supports node 16.

This was tested against a module and verified the server starts.

@Matthew-Mallimo Matthew-Mallimo merged commit 0a65c2f into main Dec 15, 2023
6 checks passed
@Matthew-Mallimo Matthew-Mallimo deleted the fix/node12 branch December 15, 2023 16:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

one-app-runner: v6.16.1 does not work with older versions of One App
3 participants