Implementing the vendor-image pipeline
End-to-end pipeline for sealing a vendor image and deploying the sealed copy from your private registry.
Approach 1: seal image fix
seal image fixexport SEAL_TOKEN=<token>
export SEAL_PROJECT=my-vendor-image
export SEAL_USE_SEALED_NAMES=1 # rename sealed packages so external scanners do not flag them
seal image fix \
confluentinc/cp-kafka:latest \
--platform linux/amd64 \
--tag your-org-registry/cp-kafka:2026-06-01Approach 2: a Dockerfile with explicit seal steps
Dockerfile with explicit seal steps# syntax=docker/dockerfile:1
FROM --platform=linux/amd64 confluentinc/cp-kafka:latest
ADD --chmod=755 https://github.com/seal-community/cli/releases/download/latest/seal-linux-amd64-latest /seal
USER root
ARG SEAL_PROJECT=my-vendor-image
ENV SEAL_USE_SEALED_NAMES=1
RUN --mount=type=secret,id=SEAL_TOKEN,env=SEAL_TOKEN \
/seal fix --os --mode=all --clean
RUN --mount=type=secret,id=SEAL_TOKEN,env=SEAL_TOKEN \
/seal fix --fs java / --mode=all --clean --remove-cli
# If the vendor's image dropped privileges, restore them at the end.
# USER appuserTag conventions
Renaming sealed packages inside the image
When to seal
Deployments
What is not redistributable
Related
Last updated