Skip to content

Commit

Permalink
Merge pull request #793 from dxw/sync-dockerfile-and-node-version-file
Browse files Browse the repository at this point in the history
Keep Dockerfile Node version up to date
  • Loading branch information
yndajas authored Nov 1, 2024
2 parents 071fd4c + 084587c commit 637e674
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
FROM ruby:3.3.5 as base
LABEL org.opencontainers.image.authors="[email protected]"

RUN curl -L https://deb.nodesource.com/setup_20.x | bash -
COPY .node-version .node-version
RUN curl -L "https://deb.nodesource.com/setup_$(cat .node-version | cut -c1-2).x" | bash -
RUN curl https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | \
Expand Down

0 comments on commit 637e674

Please sign in to comment.