Skip to content

Commit

Permalink
feat: Add Dockerfiles for Node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cbluebird committed Sep 6, 2024
1 parent d36950c commit aa9aff7
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Language/nodejs/nodejs18/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM ghcr.io/labring-actions/devbox/debian-ssh:d8f335

RUN apt-get update && \
apt-get install -y curl && \
curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs && \
npm install -g typescript yarn pnpm && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN mkdir /root/.sealos
11 changes: 11 additions & 0 deletions Language/nodejs/nodejs20/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM ghcr.io/labring-actions/devbox/debian-ssh:d8f335

RUN apt-get update && \
apt-get install -y curl && \
curl -sL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs && \
npm install -g typescript yarn pnpm && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN mkdir /root/.sealos
11 changes: 11 additions & 0 deletions Language/nodejs/nodejs22/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM ghcr.io/labring-actions/devbox/debian-ssh:d8f335

RUN apt-get update && \
apt-get install -y curl && \
curl -sL https://deb.nodesource.com/setup_22.x | bash - && \
apt-get install -y nodejs && \
npm install -g typescript yarn pnpm && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN mkdir /root/.sealos

0 comments on commit aa9aff7

Please sign in to comment.