mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
Docker: add OCI base-image labels and document base-image metadata (#31196)
* Docker: add OCI base image labels * Docs(Docker): document base image metadata context * Changelog: note Docker base annotation docs update * Changelog: add author credit for Docker base annotations * Update docker.md * Docker: add OCI source and docs labels * CI(Docker): publish OCI revision/version labels * Docs(Docker): list OCI image annotations * Changelog: expand OCI annotation coverage note * Docker: set OCI license annotation to MIT * Docs(Docker): align OCI license annotation to MIT * Docker: note docs sync path for OCI annotations * Docker: normalize OCI label block indentation
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -1,5 +1,18 @@
|
||||
FROM node:22-bookworm@sha256:cd7bcd2e7a1e6f72052feb023c7f6b722205d3fcab7bbcbd2d1bfdab10b1e935
|
||||
|
||||
# OCI base-image metadata for downstream image consumers.
|
||||
# If you change these annotations, also update:
|
||||
# - docs/install/docker.md ("Base image metadata" section)
|
||||
# - https://docs.openclaw.ai/install/docker
|
||||
LABEL org.opencontainers.image.base.name="docker.io/library/node:22-bookworm" \
|
||||
org.opencontainers.image.base.digest="sha256:cd7bcd2e7a1e6f72052feb023c7f6b722205d3fcab7bbcbd2d1bfdab10b1e935" \
|
||||
org.opencontainers.image.source="https://github.com/openclaw/openclaw" \
|
||||
org.opencontainers.image.url="https://openclaw.ai" \
|
||||
org.opencontainers.image.documentation="https://docs.openclaw.ai/install/docker" \
|
||||
org.opencontainers.image.licenses="MIT" \
|
||||
org.opencontainers.image.title="OpenClaw" \
|
||||
org.opencontainers.image.description="OpenClaw gateway and CLI runtime container image"
|
||||
|
||||
# Install Bun (required for build scripts)
|
||||
RUN curl -fsSL https://bun.sh/install | bash
|
||||
ENV PATH="/root/.bun/bin:${PATH}"
|
||||
|
||||
Reference in New Issue
Block a user