Skip to content

Publish a :<version>-runtime image with pre-installed extensions #203

Description

@jrosskopf

Problem

ghcr.io/datazoode/flapi contains only the binary, so every container downloads its DuckDB extensions at start (incl. community bigquery). Consumers end up maintaining their own "golden" base image.

Proposal

  • Dockerfile gets a runtime target (slim stays the default target and :latest) that runs flapi extensions install for core_functions, every default extension and bigquery@community, and sets FLAPI_EXTENSION_DIRECTORY.
  • CI builds it multi-arch, publishes :main-runtime, :sha-…-runtime, and on release :<tag>-runtime (via docker-promote), and checks that the image starts and serves /health/live with --network none and FLAPI_EXTENSIONS_OFFLINE=1.

Depends on the configurable/pre-installable extensions issue. Gap G3 of the Cloud Run review.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions