Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3a71abd222 |
+3
-3
@@ -1,4 +1,4 @@
|
|||||||
FROM node:24-trixie
|
FROM node:24-trixie@sha256:f072159a6b98a624e09f2c4815fe473217fc019a97524fd593059c8a4ad5a05d
|
||||||
|
|
||||||
ENV NPM_CONFIG_UPDATE_NOTIFIER=false \
|
ENV NPM_CONFIG_UPDATE_NOTIFIER=false \
|
||||||
NPM_CONFIG_LOGLEVEL=warn \
|
NPM_CONFIG_LOGLEVEL=warn \
|
||||||
@@ -12,12 +12,12 @@ 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.16.2 n2-soul@9.0.9 && \
|
npm install -g --no-fund --no-audit opencode-ai 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/
|
||||||
|
|
||||||
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.1 /bin/kubectl /usr/local/bin/kubectl
|
COPY --from=registry.k8s.io/kubectl:v1.36.1@sha256:d08f476d04d0e30f426f06bc6ff6c38913aaa4591943046b77e2f74a72d3611c /bin/kubectl /usr/local/bin/kubectl
|
||||||
|
|
||||||
USER opencode
|
USER opencode
|
||||||
WORKDIR /home/opencode
|
WORKDIR /home/opencode
|
||||||
|
|||||||
+5
-4
@@ -1,11 +1,12 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"customManagers": [
|
"regexManagers": [
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
|
||||||
"description": "Track n2-soul npm package pinned in Dockerfile RUN command",
|
"description": "Track n2-soul npm package pinned in Dockerfile RUN command",
|
||||||
"managerFilePatterns": ["/^Dockerfile$/"],
|
"fileMatch": ["^Dockerfile$"],
|
||||||
"matchStrings": ["n2-soul@(?<currentValue>[^\\s]+)"],
|
"matchStrings": [
|
||||||
|
"n2-soul@(?<currentValue>[^\\s]+)"
|
||||||
|
],
|
||||||
"depNameTemplate": "n2-soul",
|
"depNameTemplate": "n2-soul",
|
||||||
"datasourceTemplate": "npm",
|
"datasourceTemplate": "npm",
|
||||||
"versioningTemplate": "npm"
|
"versioningTemplate": "npm"
|
||||||
|
|||||||
Reference in New Issue
Block a user