Skip to content

Commit c867a20

Browse files
committed
Stop advertising Docker artifacts as MIT licensed
The Docker deployment guide and official Dockerfile still advertised MIT licensing even though the image bundles components with multiple license sources. Remove the stale top-level MIT signals and point Docker readers to repository license files plus bundled package metadata rather than publishing an incomplete single-license OCI expression. Constraint: Use repository license files and package manifests as source references; the Docker image copies ee/, fde, and morphik_rust, which carry distinct licensing surfaces. Rejected: Replace the OCI label with BUSL-1.1 | the published image includes other bundled components, so BUSL-1.1 alone would be incomplete. Rejected: Change bundled Rust or fde package license metadata here | package metadata is copied into the image but may be component-specific and needs separate maintainer/legal review. Confidence: high Scope-risk: narrow Directive: Do not restore an OCI license annotation until maintainers/legal define the complete image license expression. Tested: rg -n -F -- "- License: The Docker image bundles components under multiple licenses. Review [LICENSE](./LICENSE), [ee/LICENSE](./ee/LICENSE), and bundled package metadata before production use." DOCKER.md; if rg -n "License:\s*MIT|org.opencontainers.image.licenses=\"MIT\"|org.opencontainers.image.licenses=\"BUSL-1.1\"" dockerfile DOCKER.md -S; then echo unexpected top-level Docker license reference found; exit 1; else echo no stale top-level Docker doc/OCI label reference found; fi; docker buildx build --check -f dockerfile .; git diff --check origin/main...HEAD Not-tested: legal review; full Docker image build; historical published image metadata; bundled package license metadata alignment
1 parent ed45866 commit c867a20

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

DOCKER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,4 @@ For issues and feature requests:
173173

174174
## Repository Information
175175

176-
- License: MIT
176+
- License: The Docker image bundles components under multiple licenses. Review [LICENSE](./LICENSE), [ee/LICENSE](./ee/LICENSE), and bundled package metadata before production use.

dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ LABEL org.opencontainers.image.title="Morphik Core"
191191
LABEL org.opencontainers.image.description="Morphik Core - A powerful document processing and retrieval system"
192192
LABEL org.opencontainers.image.source="https://github.com/morphik-org/morphik-core"
193193
LABEL org.opencontainers.image.version="1.0.0"
194-
LABEL org.opencontainers.image.licenses="MIT"
195194

196195
# Expose port
197196
EXPOSE 8000

0 commit comments

Comments
 (0)