Merge pull request 'fix: run opencode-ai postinstall script after npm install' (#24) from fix/opencode-postinstall into main
Main Release / hadolint (push) Successful in 6s
Main Release / test (push) Successful in 12s
Main Release / build (push) Successful in 11s
Main Release / tag (push) Successful in 9s
Tag Release / hadolint (push) Successful in 7s
Tag Release / test (push) Successful in 3m9s
Tag Release / build-push (push) Successful in 4m25s

Reviewed-on: #24
This commit was merged in pull request #24.
This commit is contained in:
2026-07-13 18:17:39 -04:00
+1 -1
View File
@@ -12,7 +12,7 @@ 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 opencode-ai@1.17.13 n2-soul@9.0.9 && \ npm install -g --no-fund --no-audit --allow-scripts=opencode-ai,better-sqlite3 opencode-ai@1.17.13 n2-soul@9.0.9 && \
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/