Hardened Debian 13 build of Nextcloud Talk HPB signaling server from official Go source.
2.3K
A source-built, multi-arch, rootless Debian 13 (trixie-slim) container image of the Nextcloud Talk High Performance Backend signaling server (strukturag/nextcloud-spreed-signaling), maintained by Daniel G. Cosenza from FNX Labs.
dgcosenza/nextcloud-spreed-signalingghcr.io/dgcosenza/nextcloud-spreed-signaling (identical signed multi-arch digest)dgcosenza/nextcloud-spreed-signaling-dockerstrukturag/nextcloud-spreed-signaling (AGPL-3.0-or-later)dgcosenza/nextcloud-spreed-signaling compiles official upstream Go release tags (CGO_ENABLED=0) with the latest Go toolchain on Debian 13 (trixie-slim) for both linux/amd64 and linux/arm64:
strukturag/nextcloud-spreed-signaling: Preserves CONFIG=/config/server.conf, /config/server.conf.in, /entrypoint.sh, /stop.sh, /wait.sh, STOPSIGNAL SIGUSR1, spreedbackend (850:850), all upstream environment variables, and the wget healthcheck.USER spreedbackend (850:850) under tini, and is verified natively on both architectures under --read-only --cap-drop ALL --security-opt no-new-privileges:true (using CONFIG=/tmp/server.conf on tmpfs).>= 95%, <= 5% wasted), Syft SPDX + CycloneDX SBOMs, Trivy + Grype (SBOM) zero-fixable all-severity gates, Cosign keyless OIDC signatures & SBOM attestations, SLSA Build L3 provenance, dual-registry publishing, and signed GitHub Releases.| Component | Resolved Version |
|---|---|
| nextcloud-spreed-signaling | v2.2.0 |
| Go toolchain | 1.27.4 |
| Base OS | Debian 13.8 (trixie-slim) |
| Architectures | linux/amd64, linux/arm64 |
| Compressed size (per arch) | amd64: 53.0 MB, arm64: 52.1 MB |
| Last verified build (UTC) | 2026-11-28 |
| Published multi-arch digest | dgcosenza/nextcloud-spreed-signaling@sha256:9ac06c42e50fdf4e2a58635274cd9817a14916df8326ee15254280c750697a74 |
| GHCR mirror | ghcr.io/dgcosenza/nextcloud-spreed-signaling@sha256:9ac06c42e50fdf4e2a58635274cd9817a14916df8326ee15254280c750697a74 |
| Supply chain | Cosign OIDC signed + SPDX & CycloneDX SBOM attestations + SLSA Build L3 provenance |
| Security gate (Trivy + Grype on SBOM) | 0 fixable findings of any severity (15 upstream-unfixed) |
Currently tracked upstream-unfixed findings (no fix released): CVE-2025-69720, CVE-2026-107494, CVE-2026-119373, CVE-2026-119374, CVE-2026-119379, CVE-2026-124709, CVE-2026-16742, CVE-2026-54369, CVE-2026-58471, CVE-2026-58472 (+5 more in CI artifacts).
Identical multi-arch OCI digests are published to Docker Hub (dgcosenza/nextcloud-spreed-signaling) and GHCR (ghcr.io/dgcosenza/nextcloud-spreed-signaling), accompanied by an automated signed GitHub Release:
| Tag | Policy | Description |
|---|---|---|
<version>-<YYYYMMDD> (e.g. 2.2.0-20261125) | Immutable | Date-stamped daily rebuild pinning the signaling release and UTC build date. |
sha-<short> | Immutable | Packaging repository Git commit tag. |
<version> (e.g. 2.2.0) | Moving | Latest verified Debian 13 + Go security rebuild of that signaling release. |
latest | Moving | Latest verified build tracking the newest official signaling release. |
Production pinning: Pin by immutable digest:
image: dgcosenza/nextcloud-spreed-signaling:2.2.0@sha256:<digest>
# or via GitHub Container Registry (identical digest):
image: ghcr.io/dgcosenza/nextcloud-spreed-signaling:2.2.0@sha256:<digest>
| Architecture | Status | Verification |
|---|---|---|
linux/amd64 | Published & natively tested | Built with latest Go trixie toolchain, smoke-tested (both default and --read-only --cap-drop ALL), Dive-gated, Syft/Trivy/Grype-scanned, and Cosign-signed on native x86_64 CI runners. |
linux/arm64 | Published & natively tested | Built with latest Go trixie toolchain, smoke-tested (both default and --read-only --cap-drop ALL), Dive-gated, Syft/Trivy/Grype-scanned, and Cosign-signed on native ARM64 CI runners. |
docker run (hardened, rootless, read-only)docker run -d --name nextcloud_talk_signaling \
--restart unless-stopped \
--read-only \
--cap-drop ALL \
--security-opt no-new-privileges:true \
--tmpfs /tmp:noexec,nosuid,size=16m \
-e CONFIG=/tmp/server.conf \
-e HTTP_LISTEN=:8080 \
-e NATS_URL=nats://loopback \
-e HASH_KEY="$(openssl rand -hex 16)" \
-e BLOCK_KEY="$(openssl rand -hex 8)" \
-e INTERNAL_SHARED_SECRET_KEY="$(openssl rand -hex 16)" \
-e BACKENDS=cloud \
-e BACKEND_CLOUD_URLS=https://cloud.example.com \
-e BACKEND_CLOUD_SHARED_SECRET="$(openssl rand -hex 16)" \
dgcosenza/nextcloud-spreed-signaling:latest
Verify the welcome endpoint:
docker exec nextcloud_talk_signaling wget -q -O - http://127.0.0.1:8080/api/v1/welcome
See docker-compose.example.yml for a hardened compose definition running rootless with read_only: true, cap_drop: [ALL], no-new-privileges:true, /tmp tmpfs, and an internal network.
| Resource | Details | Purpose |
|---|---|---|
8080/tcp | Default HTTP/WS | Signaling API (HTTP_LISTEN) |
8443/tcp | Optional TLS | Direct HTTPS listener (HTTPS_LISTEN) |
9090/tcp | Optional gRPC | gRPC listener (GRPC_LISTEN) |
/config/server.conf | Generated or mounted :ro | Runtime INI config (set CONFIG=/tmp/server.conf for read-only rootfs) |
/etc/ssl/certs/ca-certificates.crt | Read-only | Debian CA trust bundle |
| Variable | Default | Description |
|---|---|---|
CONFIG | /config/server.conf | Signaling configuration file path (CONFIG=/tmp/server.conf enables read_only: true) |
HTTP_LISTEN | (commented) | HTTP bind address, e.g. :8080 |
NATS_URL | nats://loopback | NATS hub URL (nats://loopback uses built-in in-process hub) |
HASH_KEY / BLOCK_KEY | (required) | Session checksum and AES block encryption keys |
INTERNAL_SHARED_SECRET_KEY | (required) | Shared secret for internal clients |
BACKENDS | (unset) | Space-separated backend identifiers, e.g. cloud |
BACKEND_<NAME>_URLS | (unset) | Comma-separated Nextcloud URLs for backend <NAME> |
BACKEND_<NAME>_SHARED_SECRET | (unset) | Shared secret matching Nextcloud Talk settings |
SKIP_VERIFY | (unset) | Set true to skip backend TLS verification |
USE_JANUS / JANUS_URL | (unset) | Optional Janus WebRTC gateway integration |
TURN_API_KEY / TURN_SECRET / TURN_SERVERS | (unset) | Optional TURN relay configuration |
TRUSTED_PROXIES / STATS_IPS | (unset) | Reverse proxy and stats ACL CIDRs |
CA_CERTIFICATES_FOLDER | (unset) | Extra .crt folder imported at start (requires --user 0; drops to 850:850 via setpriv) |
TZ | UTC | Timezone for log timestamps |
Runs by default as non-root spreedbackend (850:850).
HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \
CMD ["wget", "-q", "-O", "/dev/null", "http://127.0.0.1:8080/api/v1/welcome"]
Probes the HTTP signaling layer directly and fails closed if the signaling process stops.
strukturag/nextcloud-spreed-signaling/config/server.conf and .env secrets.strukturag/nextcloud-spreed-signaling:latest with dgcosenza/nextcloud-spreed-signaling:<version>@sha256:<digest> (or ghcr.io/dgcosenza/nextcloud-spreed-signaling:<version>@sha256:<digest>).docker compose up -d talk_signaling) and confirm healthy plus /api/v1/welcome HTTP 200.Every published digest (multi-arch index and per-architecture manifests) on both Docker Hub and GHCR is keyless-signed with Sigstore Cosign (GitHub OIDC), attested with SPDX and CycloneDX SBOMs, and backed by SLSA Build L3 provenance (actions/attest-build-provenance).
cosign verify \
--certificate-identity-regexp="^https://github\.com/dgcosenza/nextcloud-spreed-signaling-docker/\.github/workflows/daily\.yml@refs/heads/main$" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
ghcr.io/dgcosenza/nextcloud-spreed-signaling:latest
# Or against Docker Hub (identical digest):
cosign verify \
--certificate-identity-regexp="^https://github\.com/dgcosenza/nextcloud-spreed-signaling-docker/\.github/workflows/daily\.yml@refs/heads/main$" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
dgcosenza/nextcloud-spreed-signaling:latest
cosign verify-attestation \
--type spdxjson \
--certificate-identity-regexp="^https://github\.com/dgcosenza/nextcloud-spreed-signaling-docker/\.github/workflows/daily\.yml@refs/heads/main$" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
ghcr.io/dgcosenza/nextcloud-spreed-signaling@sha256:<arch-digest>
gh attestation verify oci://ghcr.io/dgcosenza/nextcloud-spreed-signaling:latest --owner dgcosenza
CGO_ENABLED=0 and the newest Go trixie toolchain (GOTOOLCHAIN=local).spreedbackend (850:850) under tini, verified with --read-only --cap-drop ALL --security-opt no-new-privileges:true.>= 95%, <= 5% wasted), and must pass Trivy (table, JSON, SARIF to Code Scanning, blocking --ignore-unfixed) and Grype scanning the SPDX SBOM (--only-fixed --fail-on negligible) with 0 fixable vulnerabilities of any severity.renovate.json) pins base image digests and GitHub Action commit SHAs; Dependabot security alerts and OpenSSF Scorecard monitoring are enabled.SECURITY.md for vulnerability reporting.git clone https://github.com/dgcosenza/nextcloud-spreed-signaling-docker.git
cd nextcloud-spreed-signaling-docker
docker buildx build \
--platform linux/amd64 \
--load \
--build-arg IMAGE_CREATED="$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
--build-arg IMAGE_REVISION="$(git rev-parse HEAD)" \
-t dgcosenza/nextcloud-spreed-signaling:local \
.
./tests/smoke.sh dgcosenza/nextcloud-spreed-signaling:local
| Build Arg | Default | Purpose |
|---|---|---|
GO_BASE | golang:1.27.4-trixie@sha256:... | Digest-pinned official Go builder image (refreshed daily by CI) |
DEBIAN_BASE | debian:trixie-slim@sha256:... | Digest-pinned Debian 13 runtime base image (refreshed daily by CI) |
GO_VERSION | 1.27.4 | Go toolchain version metadata |
SIGNALING_VERSION | v2.2.0 | strukturag/nextcloud-spreed-signaling Git tag |
SIGNALING_UID / SIGNALING_GID | 850 / 850 | Unprivileged spreedbackend account IDs |
.github/workflows/daily.yml runs automatically every day at 05:40 UTC, on pushes to main, on pull requests (verification only), and via workflow_dispatch:
strukturag/nextcloud-spreed-signaling release via authenticated GitHub API plus latest Go trixie and debian:trixie-slim digests; diffs against versions.json and emits upstream-changes.md.linux/amd64 and linux/arm64 runners with --no-cache on schedule and full Debian 13 apt-get upgrade.tests/smoke.sh natively on both architectures (default + --read-only --cap-drop ALL, /api/v1/welcome, graceful /stop.sh SIGUSR1), enforces the strict Dive efficiency gate (>= 95%, <= 5% wasted), generates Syft SPDX + CycloneDX SBOMs, and gates publication on 0 fixable findings of any severity in both Trivy and Grype (SBOM scan).ghcr.io/dgcosenza/nextcloud-spreed-signaling) and mirrors the identical digest to Docker Hub (dgcosenza/nextcloud-spreed-signaling) with tags latest, <version>, <version>-<YYYYMMDD>, and sha-<short>; keyless-signs digests and attaches SPDX/CycloneDX SBOM attestations via Cosign OIDC; emits SLSA Build L3 provenance; and publishes a signed GitHub Release.versions.json, the README Current Versions block, and a dated CHANGELOG.md entry via github-actions[bot] ([skip ci]), then syncs the Docker Hub overview and short description.ci-failure on any main or scheduled failure, and closes it automatically on the next green run.trixie-slim) instead of Alpine: Aligns OS packages, CA bundle handling, and daily security updates with Debian 13 while preserving upstream /entrypoint.sh, /stop.sh, /wait.sh, and STOPSIGNAL SIGUSR1 via a one-hunk setpriv patch (patches/0001-debian-setpriv.patch).os-base stage and assembling the final image with cleanly separated OS and compiled-binary layers eliminates overwritten base-layer files so Dive stays at ~100% efficiency and ~0% wasted space across daily security rebuilds.DL3008 ignore: Daily --no-cache security rebuilds intentionally pull the newest Debian 13 security updates via apt-get rather than pinning stale package versions.This repository follows a clear packaging-vs-upstream license split:
packaging: MIT): Licensed under the MIT License — copyright Daniel G. Cosenza from FNX Labs.strukturag/nextcloud-spreed-signaling (upstream: AGPL-3.0-or-later): Copyright struktur AG and contributors — licensed under the GNU Affero General Public License v3 or later (AGPL-3.0-or-later).Full notices are preserved inside the image (/usr/share/doc/signaling-notices/LICENSE) and in THIRD-PARTY-NOTICES.md.
Content type
Image
Digest
sha256:9ac06c42e…
Size
50.6 MB
Last updated
about 12 hours ago
docker pull dgcosenza/nextcloud-spreed-signaling