mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-03 01:48:32 +02:00
Upgrade to NodeJS 22
This commit is contained in:
@@ -13,11 +13,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
openjdk-21-jdk-headless \
|
openjdk-21-jdk-headless \
|
||||||
# for python client
|
# for python client
|
||||||
python3 \
|
python3 \
|
||||||
# for typescript client
|
|
||||||
nodejs \
|
|
||||||
npm \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# for typescript client - Node 22 (Node 18 EOL April 2025, pnpm requires 20+)
|
||||||
|
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
|
||||||
|
apt-get install -y --no-install-recommends nodejs && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# for csharp client
|
# for csharp client
|
||||||
RUN add-apt-repository ppa:dotnet/backports && \
|
RUN add-apt-repository ppa:dotnet/backports && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
@@ -30,7 +32,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
|
|||||||
sh -s -- -y --default-toolchain 1.94.0
|
sh -s -- -y --default-toolchain 1.94.0
|
||||||
|
|
||||||
# for typescript client
|
# for typescript client
|
||||||
RUN npm install --global --prefix /usr/local pnpm@9
|
RUN npm install --global --prefix /usr/local pnpm
|
||||||
# Without this, typescript snippets tries to connect to ::1 instead of 127.1
|
# Without this, typescript snippets tries to connect to ::1 instead of 127.1
|
||||||
RUN echo "precedence ::ffff:0:0/96 100" >> /etc/gai.conf
|
RUN echo "precedence ::ffff:0:0/96 100" >> /etc/gai.conf
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user