Skip to content

Commit

Permalink
build(deps): bump node to v20
Browse files Browse the repository at this point in the history
  • Loading branch information
yeikel committed Mar 5, 2024
1 parent be5bbe2 commit 573bddd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions npm_and_yarn/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARG PNPM_VERSION=8.15.2
ARG YARN_VERSION=3.7.0

# See https://github.com/nodesource/distributions#installation-instructions
ARG NODEJS_VERSION=18.x
ARG NODEJS_VERSION=20

# Check for updates at https://github.com/npm/cli/releases
# This version should be compatible with the Node.js version declared above. See https://nodejs.org/en/download/releases as well
Expand All @@ -20,7 +20,7 @@ ARG NPM_VERSION=9.6.5
# Install Node and npm
RUN mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODEJS_VERSION nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODEJS_VERSION}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
nodejs \
Expand Down

0 comments on commit 573bddd

Please sign in to comment.