Skip to content

Commit 56c6453

Browse files
committed
Backported Node 20 Dockerfile
1 parent 82cc422 commit 56c6453

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

php/Dockerfile-node20

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM ibexa_php:latest
2+
3+
# Install Node.js and Yarn
4+
RUN apt-get update -q -y \
5+
&& apt-get install -q -y --no-install-recommends gnupg \
6+
&& curl -sL https://deb.nodesource.com/setup_20.x | bash - \
7+
&& apt-get install -y nodejs \
8+
&& curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
9+
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
10+
&& sudo apt-get update && sudo apt-get install yarn \
11+
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)