Compare commits
9
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2c70f3160d | ||
|
|
bbf1a0e819 | ||
|
|
38ba58c0ef | ||
|
|
0331134627 | ||
|
|
9c853aebd0 | ||
|
|
989848c152 | ||
|
|
dc9de306fe | ||
|
|
bb2d7d3277 | ||
|
|
9554fb2f01 |
+2
-2
@@ -16,13 +16,13 @@ RUN apt-get update && \
|
|||||||
npm install -g --no-fund --no-audit --ignore-scripts 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 && \
|
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 && \
|
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.18.7 && \
|
npm install -g --no-fund --no-audit --allow-scripts=opencode-ai opencode-ai@1.18.10 && \
|
||||||
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/
|
||||||
|
|
||||||
COPY --chmod=755 opencode-attach /usr/local/bin/opencode-attach
|
COPY --chmod=755 opencode-attach /usr/local/bin/opencode-attach
|
||||||
COPY --from=registry.k8s.io/kubectl:v1.36.3 /bin/kubectl /usr/local/bin/kubectl
|
COPY --from=registry.k8s.io/kubectl:v1.36.3 /bin/kubectl /usr/local/bin/kubectl
|
||||||
|
# hadolint ignore=DL3066
|
||||||
USER opencode
|
USER opencode
|
||||||
WORKDIR /home/opencode
|
WORKDIR /home/opencode
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user