Skip to main content
Version: 0.0.1

Keycloak OID4VCI - datev/develop Branch Image

This setup builds Docker images from the datev/develop branch of the adorsys/keycloak-oid4vc repository with OID4VP Auth and OID4VCI features.

Overview

  • Dockerfile: Dockerfile.oid4vc-dev - Multi-stage build with non-privileged user
  • CI/CD: GitHub Actions workflow that builds and pushes to GHCR automatically
  • Branch: Builds from adorsys/keycloak-oid4vc:datev/develop
  • Features: oid4vc-vpauth,oid4vc-vci (built into image)

Available Images

Images are automatically built and pushed to GitHub Container Registry (GHCR):

  • ghcr.io/adorsys/datev-oid4vp-auth:datev-develop-<commit-sha>

The image is tagged with the branch name and short commit SHA for deployment automation.

Usage

Pull and Run

# Pull the image (replace <commit-sha> with actual SHA)
docker pull ghcr.io/adorsys/datev-oid4vp-auth:datev-develop-<commit-sha>

# Run the container
docker run -d \
--name keycloak-oid4vp-auth \
-p 8080:8080 \
-e KEYCLOAK_ADMIN=admin \
-e KEYCLOAK_ADMIN_PASSWORD=admin \
ghcr.io/adorsys/datev-oid4vp-auth:datev-develop-<commit-sha>

Build Locally

# Build the image locally
docker build -f Dockerfile.oid4vc-dev -t oid4vc-oid4vp-auth:local .

# Run locally built image
docker run -d \
--name keycloak-oid4vp-auth \
-p 8080:8080 \
-e KEYCLOAK_ADMIN=admin \
-e KEYCLOAK_ADMIN_PASSWORD=admin \
oid4vc-oid4vp-auth:local

Environment Variables

VariableDescriptionDefault
KEYCLOAK_ADMINAdmin usernameadmin
KEYCLOAK_ADMIN_PASSWORDAdmin passwordadmin

CI/CD

The GitHub Actions workflow (oid4vc-oid4vp-auth.yml) is triggered manually and:

  • Builds the project when manually executed
  • Pushes images to GHCR with branch-commit SHA tagging
  • Enables deployment automation

Security

  • Runs as non-privileged user (keycloak)
  • Minimal base image (OpenJDK 17 slim)
  • Multi-stage build for reduced attack surface

Access

  • Admin Console: http://localhost:8080
  • Admin Username: admin
  • Admin Password: admin (change in production)