ggen 5.1.3

Ontology-driven code generation: Transform RDF ontologies into typed code through SPARQL queries and Tera templates
Documentation
version: '3.8'

services:
  ggen:
    build:
      context: .
      dockerfile: Dockerfile.gvisor
    image: ggen:gvisor
    volumes:
      - .:/workspace
    working_dir: /workspace
    # Use gVisor runtime if available
    runtime: runsc
    command: sync
    # Fallback to default runtime if gVisor not available
    # Remove the runtime line above if gVisor is not installed

  ggen-build:
    build:
      context: .
      dockerfile: Dockerfile.gvisor
    image: ggen:gvisor
    volumes:
      - .:/workspace
    working_dir: /workspace
    runtime: runsc
    command: bash -c "cargo make check && cargo make test"

  ggen-interactive:
    build:
      context: .
      dockerfile: Dockerfile.gvisor
    image: ggen:gvisor
    volumes:
      - .:/workspace
    working_dir: /workspace
    runtime: runsc
    stdin_open: true
    tty: true
    command: bash