Skip to content

Commit 2231707

Browse files
author
jolestar
committed
runtime: bump holon-base to Node 20 and update default image
1 parent ef324a6 commit 2231707

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docker/holon-base/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ RUN apt-get update && \
2727
python3 \
2828
python3-pip \
2929
python3-venv \
30-
nodejs \
31-
npm \
3230
jq \
3331
ripgrep \
3432
fd-find \
@@ -40,6 +38,12 @@ RUN apt-get update && \
4038
unzip \
4139
xz-utils \
4240
gh && \
41+
mkdir -p /etc/apt/keyrings && \
42+
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
43+
chmod a+r /etc/apt/keyrings/nodesource.gpg && \
44+
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" > /etc/apt/sources.list.d/nodesource.list && \
45+
apt-get update && \
46+
apt-get install -y --no-install-recommends nodejs && \
4347
locale-gen en_US.UTF-8 && \
4448
update-ca-certificates && \
4549
rm -rf /var/lib/apt/lists/*

pkg/image/detect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
// DefaultImage is the fallback Docker image used when no language signal is detected.
17-
const DefaultImage = "ghcr.io/holon-run/holon-base:0.1.0"
17+
const DefaultImage = "ghcr.io/holon-run/holon-base:0.2.0"
1818

1919
// Detector detects the appropriate Docker base image for a workspace.
2020
type Detector struct {

0 commit comments

Comments
 (0)