Skip to content

Commit

Permalink
Update nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
philipsens committed Oct 29, 2024
1 parent 01e10e5 commit 0edf4c3
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
7 changes: 4 additions & 3 deletions build/jdk11/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM eclipse-temurin:11.0.23_9-jdk-jammy

RUN curl -sL https://deb.nodesource.com/setup_22.x | bash

RUN apt update && apt install -y ca-certificates curl && \
install -m 0755 -d /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \
Expand All @@ -12,8 +14,7 @@ RUN apt update && apt install -y ca-certificates curl && \
docker-ce-cli \
git \
gnupg \
nodejs \
npm && \
nodejs && \
apt clean && rm -rf /var/lib/apt/lists/*

RUN npm install -g pnpm
RUN corepack enable pnpm
7 changes: 4 additions & 3 deletions build/jdk17/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM eclipse-temurin:17.0.11_9-jdk-jammy

RUN curl -sL https://deb.nodesource.com/setup_22.x | bash

RUN apt update && apt install -y ca-certificates curl && \
install -m 0755 -d /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \
Expand All @@ -12,8 +14,7 @@ RUN apt update && apt install -y ca-certificates curl && \
docker-ce-cli \
git \
gnupg \
nodejs \
npm && \
nodejs && \
apt clean && rm -rf /var/lib/apt/lists/*

RUN npm install -g pnpm
RUN corepack enable pnpm
7 changes: 4 additions & 3 deletions build/jdk21/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM eclipse-temurin:21.0.3_9-jdk-jammy

RUN curl -sL https://deb.nodesource.com/setup_22.x | bash

RUN apt update && apt install -y ca-certificates curl && \
install -m 0755 -d /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \
Expand All @@ -12,8 +14,7 @@ RUN apt update && apt install -y ca-certificates curl && \
docker-ce-cli \
git \
gnupg \
nodejs \
npm && \
nodejs && \
apt clean && rm -rf /var/lib/apt/lists/*

RUN npm install -g pnpm
RUN corepack enable pnpm
7 changes: 4 additions & 3 deletions build/jdk8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM eclipse-temurin:8u412-b08-jdk-jammy

RUN curl -sL https://deb.nodesource.com/setup_22.x | bash

RUN apt update && apt install -y ca-certificates curl && \
install -m 0755 -d /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \
Expand All @@ -12,8 +14,7 @@ RUN apt update && apt install -y ca-certificates curl && \
docker-ce-cli \
git \
gnupg \
nodejs \
npm && \
nodejs && \
apt clean && rm -rf /var/lib/apt/lists/*

RUN npm install -g pnpm
RUN corepack enable pnpm

0 comments on commit 0edf4c3

Please sign in to comment.