Docker build of Loris IIIF Image Server
  • Dockerfile 79.6%
  • Makefile 20.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
commitizen-bot 7ad32c08b6
All checks were successful
Test & Version / code-quality (push) Has been skipped
Test & Version / checks (push) Has been skipped
Test & Version / Test build dev (push) Has been skipped
Test & Version / Test build prod (push) Has been skipped
Test & Version / test-build (push) Has been skipped
Test & Version / Bump version and changelog with commitizen (push) Has been skipped
Test & Version / bump-version (push) Has been skipped
Publish Image / Build and push loris-ci (push) Successful in 48s
bump: version 0.1.0 → 0.1.1
2026-08-20 08:54:28 +00:00
.forgejo/workflows feat: build loris-ci and loris images from a shared base stage 2026-08-20 04:02:08 -04:00
examples feat: build loris-ci and loris images from a shared base stage 2026-08-20 04:02:08 -04:00
.dockerignore feat: build loris-ci and loris images from a shared base stage 2026-08-20 04:02:08 -04:00
.editorconfig feat: build loris-ci and loris images from a shared base stage 2026-08-20 04:02:08 -04:00
.gitignore feat: build loris-ci and loris images from a shared base stage 2026-08-20 04:02:08 -04:00
.hadolint.yaml fix: waive DL3066 so the uid stays build-configurable 2026-08-20 04:17:45 -04:00
.prettierignore feat: build loris-ci and loris images from a shared base stage 2026-08-20 04:02:08 -04:00
CHANGELOG.md bump: version 0.1.0 → 0.1.1 2026-08-20 08:54:28 +00:00
cz.toml feat: build loris-ci and loris images from a shared base stage 2026-08-20 04:02:08 -04:00
Dockerfile fix(ci): ship node in loris-ci so JS actions can run in the job container 2026-08-20 04:53:00 -04:00
LICENSE feat: build loris-ci and loris images from a shared base stage 2026-08-20 04:02:08 -04:00
Makefile feat: build loris-ci and loris images from a shared base stage 2026-08-20 04:02:08 -04:00
README.md feat: build loris-ci and loris images from a shared base stage 2026-08-20 04:02:08 -04:00

loris-docker

Container images for loris, a IIIF Image API 2.0 Level 2 compliant image server.

Two images are published from this repo:

Image Built from Purpose
code.modernleft.org/gravityfargo/loris-ci dev stage Test environment: runtime and dev dependencies
code.modernleft.org/gravityfargo/loris prod stage Production server

Using loris-ci

FROM code.modernleft.org/gravityfargo/loris-ci:<version>
COPY --chown=app:app . /app
RUN uv sync --locked

The venv lives at /opt/venv, outside /app, so a bind-mounted source tree cannot shadow it.

The prod image

loris prod image not implemented

Local builds

make build      # both targets
make build-ci   # loris-ci:local
make build-prod # loris:local
make run        # shell in loris-ci:local
make lint       # hadolint