Skip to content

Commit

Permalink
Switch from deprecated nodejs/npm install to just using the version b…
Browse files Browse the repository at this point in the history
…uilt-in to debian bookwarm

It's nodejs 18.13.0
  • Loading branch information
BryanQuigley committed Nov 3, 2023
1 parent 071ed3c commit 5912caf
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Dockerfile
@@ -1,11 +1,8 @@
FROM ruby:3.2-bullseye
FROM ruby:3.2-bookworm

ENV NODE_MAJOR_VERSION 18

RUN curl --silent --show-error --location --retry 5 --retry-connrefuse --retry-delay 4 https://deb.nodesource.com/setup_${NODE_MAJOR_VERSION}.x | bash - \
&& apt-get update \
&& apt-get install -y --quiet --no-install-recommends \
nodejs
RUN apt-get update \
&& apt-get install -y --quiet --no-install-recommends \
nodejs npm

ENV GEM_HOME=/usr/gem
ENV PATH="$GEM_HOME/bin/:$PATH"
Expand Down

0 comments on commit 5912caf

Please sign in to comment.