Skip to content

Commit

Permalink
build: use latest Node LTS version
Browse files Browse the repository at this point in the history
The latest Node major version might be a moving target for support. The long-term support version should be better and necessitate fewer changes over time. 

https://github.com/nodejs/release#release-schedule
  • Loading branch information
dijonkitchen authored Apr 1, 2023
1 parent f8acb50 commit 1ea06bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ FROM ruby:$RUBY_VERSION-slim
# Install dependencies
RUN apt-get update -qq && apt-get install -y build-essential libvips gnupg2 curl git

# Ensure node.js 19 is available for apt-get
ARG NODE_MAJOR=19
# Ensure node.js 18 is available for apt-get
ARG NODE_MAJOR=18
RUN curl -sL https://deb.nodesource.com/setup_$NODE_MAJOR.x | bash -

# Install node and yarn
Expand Down

0 comments on commit 1ea06bf

Please sign in to comment.