VOOZH about

URL: https://hub.docker.com/r/owncloud/ocis

⇱ owncloud/ocis - Docker Image


owncloud/ocis

By owncloud

Updated 5 days ago

ownCloud Infinite Scale

Image
32

1M+

owncloud/ocis repository overview

ownCloud Infinite Scale Docker Image

👁 Docker Pulls

Docker image for ownCloud Infinite Scale (oCIS) — a modern file-sync and share platform.

Quick Start

docker run --rm \
 -p 9200:9200 \
 -e OCIS_INSECURE=true \
 owncloud/ocis:8.0.1

Supported Tags

TagoCIS Version
8.0.5, 8.0, 88.0.5 (latest stable)
<version>-YYYYMMDDImmutable per-build tag (e.g. 8.0.5-20260623)

Rolling Image

A daily build tracking the unreleased master branch of oCIS is published to owncloud/ocis-rolling. It is built every night at 02:00 UTC from the latest master commit.

Unstable: the rolling image contains unreleased code and is intended for testing against upcoming oCIS changes — not for production.

TagMeaning
latestThe most recent daily build
YYYYMMDDImmutable build for a specific day (e.g. 20260602)
sha-<short>Build of a specific oCIS master commit (e.g. sha-a1b2c3d)
docker pull owncloud/ocis-rolling:latest

Volumes

PathPurpose
/var/lib/ocisData directory
/etc/ocisConfiguration directory

Ports

PortProtocolPurpose
9200TCPHTTPS gateway

Build Arguments

ARGDefaultPurpose
VERSIONversion-specificoCIS git tag to clone and build (without v prefix, e.g. 8.0.1)
GIT_REFv${VERSION}Git ref (branch or tag) to clone and build; overrides the default tag form to build a branch such as master
GIT_SHA""Optional exact commit to check out after cloning GIT_REF. Pins branch builds to a resolved commit and busts the clone-layer cache when it changes, keeping rolling builds fresh. Empty for release builds.
REVISION""Git SHA embedded in OCI labels
TARGETARCHset by buildxTarget architecture (amd64, arm64)

Building

The image is built entirely from source via a three-stage Dockerfile:

node-builder — clones the oCIS git repository at v${VERSION}, builds the IDP React frontend (pnpm build) and downloads the web frontend assets (make pull-assets). Both are required at compile time because services/idp and services/web use //go:embed. The IDP pnpm build runs only when services/idp/package.json is present; newer oCIS master ("no-npm") commits the identifier assets directly and has no package.json, so the step is skipped automatically.

go-builder — compiles the oCIS binary with CGO and libvips enabled using the upstream Makefile target release-linux-docker-${TARGETARCH}. Outputs to dist/binaries/ocis-linux-${TARGETARCH}.

Runtime — minimal Alpine image with the binary copied from go-builder. The stage runs apk upgrade to refresh all installed OS packages to the latest available Alpine patch releases at build time, so security fixes are picked up immediately rather than waiting for a base-image tag bump.

To build locally:

docker buildx build \
 --build-arg VERSION=8.0.1 \
 --build-arg REVISION=$(git rev-parse HEAD) \
 --platform linux/amd64 \
 -f v8/Dockerfile.multiarch v8/

CI

The GitHub Actions workflow (.github/workflows/main.yml) builds and validates the image on every push, pull request, and weekly schedule.

Steps per release matrix entry:

  1. Build — multi-arch image (linux/amd64, linux/arm64) pushed to an ephemeral local registry using BuildKit with GHA layer cache.
  2. Trivy scan — scans for HIGH/CRITICAL CVEs; unfixable upstream CVEs are listed in v8/.trivyignore.
  3. Smoke test — starts the container, polls https://localhost:9200/status.php every 2s for up to 62s, and verifies the .productversion field in the JSON response matches the built tag. Uses OCIS_INSECURE=true to allow self-signed TLS on the test runner.
  4. Publish — pushes to Docker Hub with floating major/minor tags (on master only).

License

Apache-2.0 — see LICENSE.

Tag summary

8.0.5-20260623

Content type

Image

Digest

sha256:820f18c37…

Size

78.5 MB

Last updated

5 days ago

docker pull owncloud/ocis:8.0.5-20260623