Merge pull request 'chore(deps): update node docker tag to v26' (#2) from renovate/node-26.x into main
Main Release / hadolint (push) Successful in 6s
Main Release / test (push) Successful in 1m35s
Main Release / build (push) Successful in 11s
Main Release / tag (push) Successful in 9s
Tag Release / hadolint (push) Successful in 6s
Tag Release / test (push) Successful in 10s
Tag Release / build-push (push) Successful in 2m46s

Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
2026-07-13 19:31:26 -04:00
+6 -2
View File
@@ -1,9 +1,10 @@
FROM node:24-trixie FROM node:26-trixie
ENV NPM_CONFIG_UPDATE_NOTIFIER=false \ ENV NPM_CONFIG_UPDATE_NOTIFIER=false \
NPM_CONFIG_LOGLEVEL=warn \ NPM_CONFIG_LOGLEVEL=warn \
NODE_ENV=production NODE_ENV=production
RUN apt-get update && \ RUN apt-get update && \
apt-get upgrade -y --no-install-recommends ca-certificates && \ apt-get upgrade -y --no-install-recommends ca-certificates && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
@@ -12,7 +13,10 @@ RUN apt-get update && \
groupadd -g 1000 opencode; \ groupadd -g 1000 opencode; \
useradd -m -u 1000 -g 1000 -s /usr/bin/bash opencode; \ useradd -m -u 1000 -g 1000 -s /usr/bin/bash opencode; \
npm update -g --no-fund --no-audit && \ npm update -g --no-fund --no-audit && \
npm install -g --no-fund --no-audit --allow-scripts=opencode-ai,better-sqlite3 opencode-ai@1.17.18 n2-soul@9.0.9 && \ npm install -g --no-fund --no-audit --ignore-scripts n2-soul@9.0.9 && \
npm install -g --no-fund --no-audit --allow-scripts=better-sqlite3 better-sqlite3@12.11.1 && \
rm -rf /usr/local/lib/node_modules/n2-soul/node_modules/better-sqlite3 && \
npm install -g --no-fund --no-audit --allow-scripts=opencode-ai opencode-ai@1.17.18 && \
npm cache clean --force && \ npm cache clean --force && \
chown -R 1000:1000 /usr/local/lib/node_modules/n2-soul/ chown -R 1000:1000 /usr/local/lib/node_modules/n2-soul/