Skip to content

Commit 95e5799

Browse files
authored
fix: Node.js 22 builds on Alpine (#759)
1 parent 0e77f40 commit 95e5799

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

3.2/22/alpine/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ LABEL maintainer "Tim Brust <[email protected]>"
44
ARG REFRESHED_AT
55
ENV REFRESHED_AT $REFRESHED_AT
66

7-
RUN apk -U upgrade \
7+
RUN echo @old-stable https://dl-cdn.alpinelinux.org/alpine/v3.22/community >> /etc/apk/repositories \
8+
&& echo @old-stable https://dl-cdn.alpinelinux.org/alpine/v3.22/main >> /etc/apk/repositories \
9+
&& apk -U upgrade \
810
&& apk add --no-cache \
9-
nodejs \
10-
npm \
11+
ada-libs@old-stable \
12+
nodejs@old-stable \
13+
npm@old-stable \
1114
yarn

3.3/22/alpine/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ LABEL maintainer "Tim Brust <[email protected]>"
44
ARG REFRESHED_AT
55
ENV REFRESHED_AT $REFRESHED_AT
66

7-
RUN apk -U upgrade \
7+
RUN echo @old-stable https://dl-cdn.alpinelinux.org/alpine/v3.22/community >> /etc/apk/repositories \
8+
&& echo @old-stable https://dl-cdn.alpinelinux.org/alpine/v3.22/main >> /etc/apk/repositories \
9+
&& apk -U upgrade \
810
&& apk add --no-cache \
9-
nodejs \
10-
npm \
11+
ada-libs@old-stable \
12+
nodejs@old-stable \
13+
npm@old-stable \
1114
yarn

3.4/22/alpine/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ LABEL maintainer "Tim Brust <[email protected]>"
44
ARG REFRESHED_AT
55
ENV REFRESHED_AT $REFRESHED_AT
66

7-
RUN apk -U upgrade \
7+
RUN echo @old-stable https://dl-cdn.alpinelinux.org/alpine/v3.22/community >> /etc/apk/repositories \
8+
&& echo @old-stable https://dl-cdn.alpinelinux.org/alpine/v3.22/main >> /etc/apk/repositories \
9+
&& apk -U upgrade \
810
&& apk add --no-cache \
9-
nodejs \
10-
npm \
11+
ada-libs@old-stable \
12+
nodejs@old-stable \
13+
npm@old-stable \
1114
yarn

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Tim Brust
3+
Copyright (c) 2026 Tim Brust
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)