Skip to content

Commit 081f9f9

Browse files
committed
fix: downgrade nodejs to 19.x until 20.3 is fixed
1 parent be22a1c commit 081f9f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deploy/docker/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ FROM ubuntu:jammy as build-node-service
6969
RUN apt update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y curl ca-certificates
7070

7171
# Download nodejs and install yarn
72-
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - \
72+
RUN curl -sL https://deb.nodesource.com/setup_19.x | bash - \
7373
&& apt-get install --no-install-recommends -y nodejs \
7474
&& npm install -g yarn
7575

@@ -94,7 +94,7 @@ FROM ubuntu:jammy as lowcoder-ce-node-service
9494
LABEL maintainer="lowcoder"
9595

9696
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y curl ca-certificates \
97-
&& curl -sL https://deb.nodesource.com/setup_20.x | bash - \
97+
&& curl -sL https://deb.nodesource.com/setup_19.x | bash - \
9898
&& apt-get install --no-install-recommends -y nodejs gosu \
9999
&& npm install -g yarn \
100100
&& rm -rf /var/cache/apt/lists \
@@ -166,7 +166,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-instal
166166
&& echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb bullseye main" | tee /etc/apt/sources.list.d/redis.list \
167167
&& curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | gpg --dearmor -o /usr/share/keyrings/mongodb-archive-keyring.gpg \
168168
&& echo "deb [signed-by=/usr/share/keyrings/mongodb-archive-keyring.gpg arch=amd64,arm64] http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list \
169-
&& curl -sL https://deb.nodesource.com/setup_20.x | bash - \
169+
&& curl -sL https://deb.nodesource.com/setup_19.x | bash - \
170170
&& apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends -y \
171171
mongodb-org \
172172
redis \

0 commit comments

Comments
 (0)