Docker image for oCIS Groupware — calendar and contacts for ownCloud Infinite Scale (oCIS): CalDAV and CardDAV, a Graph-shaped API and a web UI for ownCloud Web. This repo builds and publishes the image; the application source lives in owncloud/ocis-groupware.
Build & maintenance: see how these images are built, scanned, updated and published.
docker run -d --name groupware \
-v groupware-data:/data \
-e GROUPWARE_OIDC_ISSUER=https://ocis.example.com \
-p 8080:8080 \
owncloud/ocis-groupware:latestGROUPWARE_OIDC_ISSUER is the public URL of your oCIS instance and the only required
setting. The service must be served on the same domain as oCIS, behind the same reverse
proxy. See the upstream
README,
administration guide
and routing guide
for every GROUPWARE_* setting and the proxy routes. A Helm chart lives in the upstream
repository under deploy/helm/ocis-groupware.
| Tag | Meaning |
|---|---|
latest |
The highest released version |
X.Y.Z |
A specific release (e.g. 0.1.0), rebuilt in place while it is the newest one |
X.Y.Z-YYYYMMDD |
The build of a release on a given day (e.g. 0.1.0-20261111); never touched again after that day |
Note: oCIS Groupware is pre-1.0. Only plain
vX.Y.Zupstream release tags are built; there are no floatingX.YorXtags. For production, pin anX.Y.ZorX.Y.Z-YYYYMMDDtag instead oflatest. A second rebuild on the same day replaces that day'sX.Y.Z-YYYYMMDDtag; pin by digest if you need the exact bytes.
docker pull owncloud/ocis-groupware:latest- New releases: CI checks the upstream repository for new release tags every 6 hours
and builds every release that is not on Docker Hub yet. Maintainers can start the same
check by hand (
workflow_dispatch) instead of waiting. - Signed tags only: a release is built only from an annotated upstream tag whose signature GitHub verifies. Other tags are skipped with a warning.
- Security rebuilds: the newest release is rebuilt and re-pushed whenever a change is merged into this repository, including base-image and Go toolchain updates, and once a week.
- Scanning: every build is scanned with Trivy and smoke-tested before it is published. An image with a fixable HIGH or CRITICAL vulnerability is never pushed.
| Path | Purpose |
|---|---|
/data |
All service state (GROUPWARE_DATA_DIR): calendars, contacts, app passwords and the admin socket |
The service locks the directory, so only one container can use a volume at a time.
| Port | Protocol | Purpose |
|---|---|---|
8080 |
TCP | Public HTTP: DAV, Graph API, web app (GROUPWARE_HTTP_ADDR) |
9180 |
TCP | Unauthenticated /metrics and /healthz (GROUPWARE_DEBUG_ADDR) — keep it off the ingress and any untrusted network |
The image is based on
distroless static and runs as
uid/gid 65532. /data is owned by that user. When you bind-mount a host directory
instead of a named volume, give uid 65532 write access to it.
There is no shell or package manager in the image. To debug a running container, use
kubectl debug or an ephemeral container. The binary's own admin commands work directly:
docker exec groupware /ocis-groupware admin principals list| ARG | Default | Purpose |
|---|---|---|
GIT_REF |
main |
ocis-groupware git ref (tag or branch) to clone and build, e.g. v0.1.0 |
GIT_SHA |
"" |
Optional exact commit to check out after cloning GIT_REF. CI passes the commit the verified tag points to |
VERSION |
"" |
Version string embedded in the OCI labels, e.g. 0.1.0 |
REVISION |
"" |
Git commit embedded in the OCI labels |
TARGETARCH |
set by buildx | Target architecture (amd64, arm64) |
The image is built entirely from source via a four-stage Dockerfile.multiarch:
source — clones ocis-groupware at ${GIT_REF}, pinned to ${GIT_SHA} when set.
web — builds the Vue web application (npm ci && npm run build).
build — compiles the Go binary with CGO_ENABLED=0 for the target architecture,
embedding the web application.
Runtime — distroless static (nonroot) with only the binary and the /data
directory.
docker buildx build -f Dockerfile.multiarch \
--build-arg GIT_REF=v0.1.0 \
--build-arg VERSION=0.1.0 \
-t ocis-groupware:test .The GitHub Actions workflow (.github/workflows/main.yml) runs on pull requests,
pushes to main, a schedule and by hand:
- Test — lints the scripts and tests the release resolution logic.
- Resolve — works out which releases to build (see
How New Releases Get Built). A pull request always builds
the newest release (or upstream
mainwhile there is none, or it does not verify), without publishing it. - Build — multi-arch image (
linux/amd64,linux/arm64), built natively on each architecture. - Trivy scan — fails on HIGH/CRITICAL CVEs that have a fix; accepted exceptions are
listed with a justification in
.trivyignore. - Smoke test — starts the container and polls
http://localhost:9180/healthz. - Publish — pushes to Docker Hub and syncs this README as the image description (not on pull requests).
See SUPPORT.md for the full list of support channels.
We welcome contributions! Please read the Contributing Guidelines and our Code of Conduct before getting started.
- Rebase Early, Rebase Often! We use a rebase workflow — rebase on the target branch before submitting a PR.
- Signed commits: All commits must be PGP/GPG signed and carry a DCO
Signed-off-byline (git commit -S -s). - Conventional Commits: PR titles must follow the Conventional Commits format — enforced by CI.
- GitHub Actions Policy: Workflows may only use actions owned by
owncloud, created by GitHub (actions/*), or verified in the GitHub Marketplace, pinned to a full commit SHA.
Note: bug reports and feature requests for oCIS Groupware itself belong upstream in
owncloud/ocis-groupware — this repository
tracks only the Docker packaging.
Do not open a public GitHub issue for security vulnerabilities.
Report vulnerabilities at https://security.owncloud.com — see SECURITY.md.
The Kiteworks Open Source Program Office, operating under the ownCloud brand, launched on May 5, 2026, to steward the open source ecosystem around ownCloud's products. The OSPO ensures transparent governance, license compliance, community health, and sustainable collaboration between the open source community and Kiteworks, which acquired ownCloud in 2023.
- OSPO Home: https://kiteworks.com/opensource
- GitHub: https://github.com/owncloud
- ownCloud: https://owncloud.com
For questions about the OSPO or licensing, contact ospo@kiteworks.com.
This repository is licensed under the Apache License 2.0, which is the license the OSPO is adopting across the ecosystem. No relicensing is required.
Apache-2.0 — see LICENSE.