nextcloud: fix hardcoded sidecar port and missing docker CLI in runtime image

- MESH_NEXTCLOUD_URL hardcoded :80 instead of the mesh-assigned ${port:80}
- sidecar's occ() shells to docker exec but the docker CLI binary was never
  present in the runtime image, only the mounted socket
This commit is contained in:
2026-09-25 13:47:03 +02:00
parent 5f74c41a3e
commit e2b3723dd9
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -22,6 +22,11 @@ RUN node /app/node_modules/typescript/bin/tsc client.ts index.ts tools/index.ts
FROM ${RUNTIME_BASE}
COPY --from=build /app/modules/nextcloud/dist /app/modules/nextcloud/dist
# occ runs inside nextcloud's own container, reached over the mounted docker socket — which needs
# the docker CLI itself present here, not only the socket. Copied from Docker's own official client
# image rather than apt-installed, so this stays the one binary and nothing else (no daemon, no
# systemd unit, no package manager tree pulled in for it).
COPY --from=docker:cli /usr/local/bin/docker /usr/local/bin/docker
# Every serve-time entrypoint, loaded by the runtime in serve mode: tools and events serve, and a
# provider's provisioner runs its reconcile loop in the same process, with the broker connected —
# the convention novox/hq issues 060/061 settled. A container that instead ran only its