templates/dav: baked stdio image instead of npx
Some checks failed
CI/CD / typecheck (pull_request) Successful in 1m19s
CI/CD / lint (pull_request) Successful in 2m44s
CI/CD / test (pull_request) Successful in 1m25s
CI/CD / build (pull_request) Successful in 2m46s
CI/CD / smoke (pull_request) Failing after 3m48s
CI/CD / publish (pull_request) Has been skipped
Some checks failed
CI/CD / typecheck (pull_request) Successful in 1m19s
CI/CD / lint (pull_request) Successful in 2m44s
CI/CD / test (pull_request) Successful in 1m25s
CI/CD / build (pull_request) Successful in 2m46s
CI/CD / smoke (pull_request) Failing after 3m48s
CI/CD / publish (pull_request) Has been skipped
dav-mcp declares tsdav/tsdav-utils as GitHub-URL deps — npx on the git-less node-runner dies with 'spawn git ENOENT' (observed: dav-michal CrashLoopBackOff on first deploy). Upstream's ghcr image PID-1s the HTTP server, so mysources.co.uk/michal/dav-mcp bakes the install and execs src/server-stdio.js. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
name: dav
|
||||
version: "1.0.0"
|
||||
description: CalDAV/CardDAV/VTODO (Stalwart or any RFC 4791/6352 server) — calendars, events, tasks, contacts
|
||||
packageName: "dav-mcp"
|
||||
runtime: node
|
||||
# NOT packageName: dav-mcp declares tsdav/tsdav-utils as GitHub-URL deps, so
|
||||
# `npx -y dav-mcp` dies with `spawn git ENOENT` on the git-less node-runner,
|
||||
# and the upstream ghcr image starts the HTTP server as PID 1. This image
|
||||
# bakes the install and execs the stdio entrypoint (NODE_OPTIONS baked in).
|
||||
dockerImage: "mysources.co.uk/michal/dav-mcp:4.0.1-stdio1"
|
||||
transport: STDIO
|
||||
repositoryUrl: https://github.com/PhilflowIO/dav-mcp
|
||||
repositoryUrl: https://mysources.co.uk/michal/dav-mcp-image
|
||||
healthCheck:
|
||||
# A real CalDAV PROPFIND: a pass proves server URL and credentials.
|
||||
tool: list_calendars
|
||||
@@ -21,7 +24,3 @@ env:
|
||||
- name: CALDAV_PASSWORD
|
||||
description: DAV password (use an app password)
|
||||
required: true
|
||||
- name: NODE_OPTIONS
|
||||
description: V8 heap cap; Node sizes its heap off host RAM, not the cgroup limit
|
||||
required: false
|
||||
defaultValue: "--max-old-space-size=384"
|
||||
|
||||
Reference in New Issue
Block a user