Skip to content

@cloudflare/containers-shared@0.16.3

Choose a tag to compare

@workers-devprod workers-devprod released this 15 Sep 17:08
· 24 commits to main since this release
bbf2f79

Patch Changes

  • #15597 a83d7ac Thanks @skepticfx! - Support per-image build options for experimental Durable Object-managed Containers

    Set build_context and build_vars alongside dockerfile in a Container's named images entries. Context paths resolve relative to the Wrangler configuration file and default to the Dockerfile's directory. Build variables are passed as Docker build arguments. Entries using the same Dockerfile with different contexts or variables are built separately.

    {
      "containers": [
        {
          "class_name": "Sandbox",
          "scheduling_policy": "durable_object",
          "images": {
            "app": {
              "dockerfile": "./docker/Dockerfile",
              "build_context": ".",
              "build_vars": { "APP_ENV": "production" }
            }
          }
        }
      ]
    }
  • Updated dependencies [a83d7ac, a83d7ac, cb0955f, fa79b26, ca71205, a83d7ac]:

    • @cloudflare/workers-utils@0.39.0
    • @cloudflare/cli-shared-helpers@0.1.31