Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 93ba3a92d2 | |||
| 804d541ff8 | |||
| f183ef05b4 | |||
| 5f119f2a62 |
+3
-3
@@ -1,4 +1,4 @@
|
||||
FROM node:24-trixie@sha256:f072159a6b98a624e09f2c4815fe473217fc019a97524fd593059c8a4ad5a05d
|
||||
FROM node:24-trixie
|
||||
|
||||
ENV NPM_CONFIG_UPDATE_NOTIFIER=false \
|
||||
NPM_CONFIG_LOGLEVEL=warn \
|
||||
@@ -12,12 +12,12 @@ RUN apt-get update && \
|
||||
groupadd -g 1000 opencode; \
|
||||
useradd -m -u 1000 -g 1000 -s /usr/bin/bash opencode; \
|
||||
npm update -g --no-fund --no-audit && \
|
||||
npm install -g --no-fund --no-audit opencode-ai n2-soul@9.0.9 && \
|
||||
npm install -g --no-fund --no-audit opencode-ai@1.16.2 n2-soul@9.0.9 && \
|
||||
npm cache clean --force && \
|
||||
chown -R 1000:1000 /usr/local/lib/node_modules/n2-soul/
|
||||
|
||||
COPY --chmod=755 opencode-attach /usr/local/bin/opencode-attach
|
||||
COPY --from=registry.k8s.io/kubectl:v1.36.1@sha256:d08f476d04d0e30f426f06bc6ff6c38913aaa4591943046b77e2f74a72d3611c /bin/kubectl /usr/local/bin/kubectl
|
||||
COPY --from=registry.k8s.io/kubectl:v1.36.1 /bin/kubectl /usr/local/bin/kubectl
|
||||
|
||||
USER opencode
|
||||
WORKDIR /home/opencode
|
||||
|
||||
+4
-5
@@ -1,12 +1,11 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"regexManagers": [
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Track n2-soul npm package pinned in Dockerfile RUN command",
|
||||
"fileMatch": ["^Dockerfile$"],
|
||||
"matchStrings": [
|
||||
"n2-soul@(?<currentValue>[^\\s]+)"
|
||||
],
|
||||
"managerFilePatterns": ["/^Dockerfile$/"],
|
||||
"matchStrings": ["n2-soul@(?<currentValue>[^\\s]+)"],
|
||||
"depNameTemplate": "n2-soul",
|
||||
"datasourceTemplate": "npm",
|
||||
"versioningTemplate": "npm"
|
||||
|
||||
Reference in New Issue
Block a user