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 Oct 28, 2023
1 parent 4a74fc5 commit 1bfe4d3
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 @@ -7,7 +7,7 @@ ARG PNPM_VERSION=8.9.2
ARG YARN_VERSION=3.6.4

# 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 @@ -17,7 +17,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 1bfe4d3

Please sign in to comment.