Hardened source-built Excalidraw whiteboard on Debian 13 + NGINX (rootless, 0 fixable CVEs).
670
A hardened, rootless, read-only-rootfs-compatible Excalidraw collaborative whiteboard image built from official upstream source and served by minimal NGINX on Debian 13 (trixie-slim) (zero Node.js in runtime) — maintained by Daniel G. Cosenza from FNX Labs.
dgcosenza/excalidrawghcr.io/dgcosenza/excalidraw (identical signed multi-arch digest)dgcosenza/excalidraw-dockerdgcosenza/excalidraw is a drop-in replacement for excalidraw/excalidraw on port 80/tcp. It compiles the official Excalidraw web app from tagged upstream source in an isolated Node builder stage and copies only the static production bundle into a hardened non-root debian:13.8-slim + nginx-light runtime with security headers, gzip compression, /healthz liveness endpoint, and tini PID 1.
| Component | Resolved Version |
|---|---|
| Excalidraw | 0.18.1 |
| Base OS | Debian 13.8 (trixie-slim) |
| Architectures | linux/amd64, linux/arm64 |
| Uncompressed size (per arch) | amd64: 61.9 MB, arm64: 173.0 MB |
| Last verified build (UTC) | 2026-11-28 |
| Published multi-arch digest | dgcosenza/excalidraw@sha256:eb75749e3e7f7dcea0f32463ee16a8f9b2d308f90f81eb32580c9685d4b1c38e |
| GHCR mirror | ghcr.io/dgcosenza/excalidraw@sha256:eb75749e3e7f7dcea0f32463ee16a8f9b2d308f90f81eb32580c9685d4b1c38e |
| 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) |
| Tag | Policy | Description |
|---|---|---|
latest | Moving | Latest verified multi-arch build passing all CVE, Dive, and smoke gates. |
<version> (e.g. 0.18.1) | Moving | Latest verified build for that Excalidraw release. |
<version>-<YYYYMMDD> | Immutable | Date-stamped daily security rebuild. |
sha-<short> | Immutable | Git commit tag from this repository. |
| Architecture | Status | Verification |
|---|---|---|
linux/amd64 | Published & natively tested | Read-only rootfs non-root HTTP + header smoke test, Dive >= 95%, Trivy + Grype 0 fixable CVEs, Cosign OIDC, SLSA L3. |
linux/arm64 | Published & natively tested | Read-only rootfs non-root HTTP + header smoke test, Dive >= 95%, Trivy + Grype 0 fixable CVEs, Cosign OIDC, SLSA L3. |
Volume ownership note:
docker-compose.example.ymldefaults to a named Docker volume so non-root runtime permissions (1000:1000) are initialized automatically; if switching to a host bind mount, pre-create the directory owned by1000:1000(mkdir -p ./data && chown 1000:1000 ./data) beforedocker compose up -d.
docker run -d --name excalidraw --restart unless-stopped \
--read-only --tmpfs /tmp/nginx:uid=1000,gid=1000 \
--cap-drop ALL --cap-add NET_BIND_SERVICE \
-p 127.0.0.1:8080:80 \
dgcosenza/excalidraw:latest
Open http://127.0.0.1:8080/.
See docker-compose.example.yml.
Excalidraw is a client-side static web application: drawings live locally in the browser unless exported.
| Setting | Value |
|---|---|
| Port | 80/tcp (internal NGINX listener) |
| User | excalidraw (UID/GID 1000:1000, cap_net_bind_service=+ep on /usr/sbin/nginx) |
| Volumes | None required (mount /tmp/nginx as tmpfs when using read_only: true) |
TZ | Etc/UTC |
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
CMD ["/usr/local/bin/excalidraw-healthcheck"]
Probes http://127.0.0.1:80/healthz and verifies HTTP 200 with body OK. Tested on amd64 and arm64; do not disable in Compose.
excalidraw/excalidrawDrop-in replacement on port 80/tcp: swap the image to dgcosenza/excalidraw@sha256:<digest> (optionally adding read_only: true + tmpfs: [/tmp/nginx:uid=1000,gid=1000]).
cosign verify \
--certificate-identity-regexp="^https://github\.com/dgcosenza/excalidraw-docker/\.github/workflows/daily\.yml@refs/heads/main$" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
ghcr.io/dgcosenza/excalidraw:latest
gh attestation verify oci://ghcr.io/dgcosenza/excalidraw:latest --owner dgcosenza
UNKNOWN–CRITICAL, --ignore-unfixed, exit 1) and Grype on Syft SPDX SBOM (--only-fixed --fail-on negligible) on both amd64 and arm64.nginx-light enter the final image.1000:1000 with server_tokens off, nosniff, SAMEORIGIN, and Permissions-Policy.SECURITY.md.docker buildx build --platform linux/amd64 --load -t dgcosenza/excalidraw:local .
./tests/smoke.sh dgcosenza/excalidraw:local
.github/workflows/daily.yml runs daily at 05:33 UTC with --no-cache: resolves latest excalidraw/excalidraw release and debian:13.8-slim digest; rebuilds the SPA and runs smoke + Dive + Trivy + Grype gates on amd64 and arm64; publishes identical Cosign-signed SLSA L3 digests to Docker Hub and GHCR (plus optional secondary OCI mirrors); syncs docs & Hub overview; and manages a single ci-failure issue.
cap_net_bind_service: Preserves drop-in port 80 parity with upstream excalidraw/excalidraw without running NGINX as root.packaging: MIT): MIT License — copyright Daniel G. Cosenza from FNX Labs.excalidraw/excalidraw (upstream: MIT): MIT License. See THIRD-PARTY-NOTICES.md.Maintained by Daniel G. Cosenza from FNX Labs. Upstream: Excalidraw.
Content type
Image
Digest
sha256:eb75749e3…
Size
59 MB
Last updated
about 9 hours ago
docker pull dgcosenza/excalidraw