-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adds Node.js 20 support (#652)
- Loading branch information
Showing
15 changed files
with
300 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM ruby:3.0 | ||
LABEL maintainer "Tim Brust <github@timbrust.de>" | ||
|
||
ARG REFRESHED_AT | ||
ENV REFRESHED_AT $REFRESHED_AT | ||
ARG NODE_MAJOR=20 | ||
|
||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
||
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_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ | ||
&& apt-get update -qq && apt-get install -qq --no-install-recommends \ | ||
nodejs \ | ||
&& apt-get upgrade -qq \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/*\ | ||
&& npm install -g yarn@1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM ruby:3.0-alpine | ||
LABEL maintainer "Tim Brust <github@timbrust.de>" | ||
|
||
ARG REFRESHED_AT | ||
ENV REFRESHED_AT $REFRESHED_AT | ||
|
||
RUN echo @edge https://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories \ | ||
&& echo @edge https://dl-cdn.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories \ | ||
&& apk -U upgrade \ | ||
&& apk add --no-cache \ | ||
libstdc++-dev@edge \ | ||
nodejs@edge \ | ||
npm@edge \ | ||
yarn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM ruby:3.0-slim | ||
LABEL maintainer "Tim Brust <github@timbrust.de>" | ||
|
||
ARG REFRESHED_AT | ||
ENV REFRESHED_AT $REFRESHED_AT | ||
ARG NODE_MAJOR=20 | ||
|
||
# hadolint ignore=DL3009 | ||
RUN apt-get update -qq && apt-get install -qq --no-install-recommends \ | ||
curl \ | ||
gnupg2 \ | ||
libatomic1 | ||
|
||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
||
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_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ | ||
&& apt-get update -qq && apt-get install -qq --no-install-recommends \ | ||
nodejs \ | ||
&& apt-get upgrade -qq \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/*\ | ||
&& npm install -g yarn@1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM ruby:3.1 | ||
LABEL maintainer "Tim Brust <github@timbrust.de>" | ||
|
||
ARG REFRESHED_AT | ||
ENV REFRESHED_AT $REFRESHED_AT | ||
ARG NODE_MAJOR=20 | ||
|
||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
||
RUN printf 'Package: nodejs\nPin: origin deb.nodesource.com\nPin-Priority: 1001' > /etc/apt/preferences.d/nodesource \ | ||
&& 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_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ | ||
&& apt-get update -qq && apt-get install -qq --no-install-recommends \ | ||
nodejs \ | ||
&& apt-get upgrade -qq \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/*\ | ||
&& npm install -g yarn@1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM ruby:3.1-alpine | ||
LABEL maintainer "Tim Brust <github@timbrust.de>" | ||
|
||
ARG REFRESHED_AT | ||
ENV REFRESHED_AT $REFRESHED_AT | ||
|
||
RUN echo @edge https://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories \ | ||
&& echo @edge https://dl-cdn.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories \ | ||
&& apk -U upgrade \ | ||
&& apk add --no-cache \ | ||
nodejs@edge \ | ||
npm@edge \ | ||
yarn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM ruby:3.1-slim | ||
LABEL maintainer "Tim Brust <github@timbrust.de>" | ||
|
||
ARG REFRESHED_AT | ||
ENV REFRESHED_AT $REFRESHED_AT | ||
ARG NODE_MAJOR=20 | ||
|
||
# hadolint ignore=DL3009 | ||
RUN apt-get update -qq && apt-get install -qq --no-install-recommends \ | ||
curl \ | ||
gnupg2 \ | ||
libatomic1 | ||
|
||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
||
RUN printf 'Package: nodejs\nPin: origin deb.nodesource.com\nPin-Priority: 1001' > /etc/apt/preferences.d/nodesource \ | ||
&& 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_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ | ||
&& apt-get update -qq && apt-get install -qq --no-install-recommends \ | ||
nodejs \ | ||
&& apt-get upgrade -qq \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/*\ | ||
&& npm install -g yarn@1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM ruby:3.2 | ||
LABEL maintainer "Tim Brust <github@timbrust.de>" | ||
|
||
ARG REFRESHED_AT | ||
ENV REFRESHED_AT $REFRESHED_AT | ||
ARG NODE_MAJOR=20 | ||
|
||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
||
RUN printf 'Package: nodejs\nPin: origin deb.nodesource.com\nPin-Priority: 1001' > /etc/apt/preferences.d/nodesource \ | ||
&& 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_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ | ||
&& apt-get update -qq && apt-get install -qq --no-install-recommends \ | ||
nodejs \ | ||
&& apt-get upgrade -qq \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/*\ | ||
&& npm install -g yarn@1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM ruby:3.2-alpine | ||
LABEL maintainer "Tim Brust <github@timbrust.de>" | ||
|
||
ARG REFRESHED_AT | ||
ENV REFRESHED_AT $REFRESHED_AT | ||
|
||
RUN echo @edge https://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories \ | ||
&& echo @edge https://dl-cdn.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories \ | ||
&& apk -U upgrade \ | ||
&& apk add --no-cache \ | ||
nodejs@edge \ | ||
npm@edge \ | ||
yarn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM ruby:3.2-slim | ||
LABEL maintainer "Tim Brust <github@timbrust.de>" | ||
|
||
ARG REFRESHED_AT | ||
ENV REFRESHED_AT $REFRESHED_AT | ||
ARG NODE_MAJOR=20 | ||
|
||
# hadolint ignore=DL3009 | ||
RUN apt-get update -qq && apt-get install -qq --no-install-recommends \ | ||
curl \ | ||
gnupg2 \ | ||
libatomic1 | ||
|
||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
||
RUN printf 'Package: nodejs\nPin: origin deb.nodesource.com\nPin-Priority: 1001' > /etc/apt/preferences.d/nodesource \ | ||
&& 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_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ | ||
&& apt-get update -qq && apt-get install -qq --no-install-recommends \ | ||
nodejs \ | ||
&& apt-get upgrade -qq \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/*\ | ||
&& npm install -g yarn@1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM ruby:3.3-rc | ||
LABEL maintainer "Tim Brust <github@timbrust.de>" | ||
|
||
ARG REFRESHED_AT | ||
ENV REFRESHED_AT $REFRESHED_AT | ||
ARG NODE_MAJOR=20 | ||
|
||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
||
RUN printf 'Package: nodejs\nPin: origin deb.nodesource.com\nPin-Priority: 1001' > /etc/apt/preferences.d/nodesource \ | ||
&& 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_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ | ||
&& apt-get update -qq && apt-get install -qq --no-install-recommends \ | ||
nodejs \ | ||
&& apt-get upgrade -qq \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/*\ | ||
&& npm install -g yarn@1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM ruby:3.3-rc-alpine | ||
LABEL maintainer "Tim Brust <github@timbrust.de>" | ||
|
||
ARG REFRESHED_AT | ||
ENV REFRESHED_AT $REFRESHED_AT | ||
|
||
RUN echo @edge https://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories \ | ||
&& echo @edge https://dl-cdn.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories \ | ||
&& apk -U upgrade \ | ||
&& apk add --no-cache \ | ||
nodejs@edge \ | ||
npm@edge \ | ||
yarn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM ruby:3.3-rc-slim | ||
LABEL maintainer "Tim Brust <github@timbrust.de>" | ||
|
||
ARG REFRESHED_AT | ||
ENV REFRESHED_AT $REFRESHED_AT | ||
ARG NODE_MAJOR=20 | ||
|
||
# hadolint ignore=DL3009 | ||
RUN apt-get update -qq && apt-get install -qq --no-install-recommends \ | ||
curl \ | ||
gnupg2 \ | ||
libatomic1 | ||
|
||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
||
RUN printf 'Package: nodejs\nPin: origin deb.nodesource.com\nPin-Priority: 1001' > /etc/apt/preferences.d/nodesource \ | ||
&& 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_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ | ||
&& apt-get update -qq && apt-get install -qq --no-install-recommends \ | ||
nodejs \ | ||
&& apt-get upgrade -qq \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/*\ | ||
&& npm install -g yarn@1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters