Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

Commit

Permalink
Upgrade nodejs to latest lts
Browse files Browse the repository at this point in the history
  • Loading branch information
vsellier committed Feb 22, 2023
1 parent 3624d20 commit df64f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cozystack/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu:22.10 AS installer

ARG COZY_VERSION=1.5.7
ARG NODE_VERSION=16.17.0
ARG NODE_VERSION=18.14.2

WORKDIR /tmp

Expand Down

1 comment on commit df64f91

@sblaisot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will probably face a problem running connectors with node 17+
Node 17+ removed ip resolution preference to IPv4 so connecting to localhost now tries to connect to ::1 while the stack only listen to 127.0.0.1. You should probably add to your node invocation the following parameter: --dns-result-order=ipv4first. See https://github.com/cozy/cozy-stack/blob/master/scripts/konnector-node17-run.sh#L4

Please sign in to comment.