From 991e6f10ada7323b23e8f191b550515ff6e41a4c Mon Sep 17 00:00:00 2001 From: mrabine Date: Sat, 21 Mar 2026 14:16:55 +0100 Subject: [PATCH 1/2] install nodejs --- Dockerfile | 3 +++ README.md | 4 +++- scripts/03_install_nodejs.sh | 12 ++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 scripts/03_install_nodejs.sh diff --git a/Dockerfile b/Dockerfile index 370e238..08135c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,9 @@ RUN apt-get update && bash -xe ./01*.sh && rm -rf * && rm -rf /var/lib/apt/lists COPY scripts/02*.sh . RUN apt-get update && bash -xe ./02*.sh && rm -rf * && rm -rf /var/lib/apt/lists/* +COPY scripts/03*.sh . +RUN apt-get update && bash -xe ./03*.sh && rm -rf * && rm -rf /var/lib/apt/lists/* + USER root ENV HOME=/root WORKDIR /github/workspace diff --git a/README.md b/README.md index 77b7bee..d59c1c0 100644 --- a/README.md +++ b/README.md @@ -40,4 +40,6 @@ docker save -o join-ci.tar joinframework/join-ci:latest ## License -[MIT](https://choosealicense.com/licenses/mit/) +[![Status](https://github.com/joinframework/join-ci/actions/workflows/cd.yml/badge.svg?branch=main)](https://github.com/joinframework/join-ci/actions?query=workflow%3Acd+branch%3Amain) +[![GitHub Releases](https://img.shields.io/github/release/joinframework/join-ci.svg)](https://github.com/joinframework/join-ci/releases/latest) +[![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/joinframework/join-ci/blob/main/LICENSE) diff --git a/scripts/03_install_nodejs.sh b/scripts/03_install_nodejs.sh new file mode 100644 index 0000000..cef1121 --- /dev/null +++ b/scripts/03_install_nodejs.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +NODE_MAJOR=24 + +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" \ + > /etc/apt/sources.list.d/nodesource.list + +apt-get update && apt-get -qq install nodejs From d3156ed214552dc20335ffb1ae31d26331d22e1f Mon Sep 17 00:00:00 2001 From: mrabine Date: Sat, 21 Mar 2026 14:19:46 +0100 Subject: [PATCH 2/2] update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d59c1c0..7ac22bd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # join-ci +[![Status](https://github.com/joinframework/join-ci/actions/workflows/cd.yml/badge.svg?branch=main)](https://github.com/joinframework/join-ci/actions?query=workflow%3Acd+branch%3Amain) +[![GitHub Releases](https://img.shields.io/github/release/joinframework/join-ci.svg)](https://github.com/joinframework/join-ci/releases/latest) [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/joinframework/join-ci/blob/main/LICENSE) Docker image for join framework continuous integration. @@ -40,6 +42,4 @@ docker save -o join-ci.tar joinframework/join-ci:latest ## License -[![Status](https://github.com/joinframework/join-ci/actions/workflows/cd.yml/badge.svg?branch=main)](https://github.com/joinframework/join-ci/actions?query=workflow%3Acd+branch%3Amain) -[![GitHub Releases](https://img.shields.io/github/release/joinframework/join-ci.svg)](https://github.com/joinframework/join-ci/releases/latest) -[![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/joinframework/join-ci/blob/main/LICENSE) +[MIT](https://choosealicense.com/licenses/mit/)