Arezgitfield notes / engineering
Release engineeringUPDATED OCT 28, 2026

Maintain Pinned Container Base Images Through Updates

Pair container base-image digest pinning with an owned update process, platform verification, runtime checks, and a retained path to the previous artifact.

Arezgit Editorial6 min read
AREZGIT / FIELD NOTERELEASE ENGINEERING
A pinned base image makes an input explicit, but it also keeps that input unchanged until someone updates it. Without a maintenance owner, a digest can remain in place long after the applica
READ / VERIFY / APPLYTECHNICALLY REVIEWED

A pinned base image makes an input explicit, but it also keeps that input unchanged until someone updates it. Without a maintenance owner, a digest can remain in place long after the application team assumes rebuilds are receiving base-system fixes. Pair pinning with a deliberate update and verification process.

For an application deployed on AMD64 and ARM64, a useful update record connects the approved base to the application images tested on each platform. A digest identifies content; publisher trust, runtime compatibility, and vulnerability applicability need separate evidence.

Record the base identity and its role

The Docker build guidance explains that image tags can be changed by their publishers and describes digest pinning as a way to select a specific image. Record the human-readable version and the resolved identity together so maintainers can understand what was selected.

Inventory every build stage. A compiler stage and a runtime stage can have different update owners and different consequences. Updating only the final runtime base leaves build-tool changes outside the review; updating only the compiler does not refresh the runtime libraries shipped to users.

For a synthetic service, write down which stage supplies the language runtime, which supplies native build tools, and which supplies operating-system libraries. Identify whether the final artifact copies dynamically linked binaries from another stage. That dependency relationship determines what compatibility evidence the update needs.

Keep publisher trust separate from content identity. Confirm the approved registry and repository through the organization's supply-chain policy. A precisely pinned unexpected publisher remains unexpected. The artifact identity guide explains the different questions that identity, signatures, and provenance can answer.

Give digest changes a maintenance owner

Define how the team learns that an approved base has changed. A scheduled dependency update process, a publisher advisory feed, or a maintained release inventory can provide the trigger. Assign someone to resolve updates that remain open rather than letting automated proposals accumulate without a decision.

Treat an update proposal as a change to inspect. It should identify the previous and proposed base, the intended release line, and the publisher's explanation of relevant changes. A proposal that unexpectedly changes operating-system family or major runtime version needs broader review than an ordinary patch update.

Set an escalation path for urgent advisories. Explain which evidence can justify expedited deployment and which minimum runtime checks remain necessary. Avoid inventing a universal patch deadline; the service's exposure, affected components, and recovery options determine the appropriate response.

Track deliberate deferrals with their technical reason and next review condition. A blocked update might reveal an undocumented native dependency, obsolete certificate assumption, or missing platform build. Preserve that finding as maintenance work instead of repeatedly closing identical update proposals.

Verify the platform and dependency combination

A useful update record has two levels of identity. A multi-platform image index can identify a collection containing a Linux AMD64 manifest and a Linux ARM64 manifest. Each selected platform manifest then identifies the content used for that platform. The OCI image-index specification describes this relationship.

Suppose a synthetic service deploys on both architectures. The proposal keeps the same runtime release line but replaces index A with index B. The reviewer needs to know whether B still contains both required platforms, which child manifest each build selected, and which application image each build produced. Checking an AMD64 laptop establishes no result for the ARM64 artifact.

Record the update as an identity chain rather than a bare Dockerfile diff:

Reviewed source revision
  -> approved base repository and index digest
  -> selected operating system, architecture, and manifest digest
  -> built application image digest
  -> integration results for that application image

The labels above are a conceptual record, not invented digest values. Resolve actual identities from the approved registry during the update. If a platform disappears or unexpectedly changes, stop that build rather than silently selecting a developer-machine default.

Pinning the base does not pin everything executed afterward. A Dockerfile that installs packages from a moving repository or downloads an unversioned script can still change across rebuilds. Inventory those inputs separately. Likewise, requesting a fresh pull does not substitute a different base for an explicitly selected digest. To receive a newer base, the reviewed digest itself must change. Pinning therefore needs an update process, not just a periodic rebuild job.

Review the platform identities supported by the image and deployment. A multi-platform image selection and a platform-specific image selection answer different questions. Verify the intended operating system and architecture for every deployment target rather than relying on a developer's successful local build.

Build the application against the proposed base using declared inputs. For native modules or copied binaries, exercise the runtime combination actually shipped. A compiler successfully producing an executable does not establish that the final stage has the libraries or runtime interfaces needed to run it.

Use representative synthetic inputs for application checks. Include outbound TLS, certificate validation, locale-sensitive behavior, filesystem permissions, and temporary-file handling when the service depends on them. Choose checks from actual application requirements; do not add a generic list that nobody maintains.

Inspect which files reach the final image. Build tools, private configuration, package-manager caches, and diagnostic artifacts should have a deliberate reason to remain. Use a credential-free build context and the normal secret-delivery mechanism when the build requires restricted dependencies, rather than copying local authentication files into stages.

Test operational behavior after the image starts

Run the proposed image under the user, filesystem, resource, and network restrictions used by deployment. Check startup, health signaling, accepted requests, and shutdown. Base changes can expose assumptions that an unrestricted developer run never exercised.

For the synthetic service, include one failed outbound connection and one unwritable output directory. Confirm that the client receives a stable error and operators receive sanitized diagnostic context. Internal paths and full process errors should not become the public response merely because the failure originated in a lower-level library.

Collect scan findings as another input to the decision. Investigate applicability, package presence, and available remediation without claiming that a report fully describes exploitability. A scanner error is also a state to handle; missing results should not be rendered as zero findings.

Keep the tests tied to the image identity they exercised. If the pipeline rebuilds after the checks, verify that it has not silently selected different inputs. The artifact promotion guide describes preserving tested output across environments.

Retain a recovery image and an update record

Before rollout, retain the previous verified application image and the configuration needed to run it. Rolling back a Dockerfile line and rebuilding can produce different output if other inputs have moved. A retained artifact gives the recovery exercise a concrete target.

Use deployment signals that reflect the affected user operations. Compare error rates, resource behavior, and startup results with the previous release under comparable traffic. If the new base causes a compatibility failure, restore the reviewed artifact and preserve enough evidence to reproduce the failing combination.

For the two-platform example, close the proposal only after both application digests have their own runtime results and retained recovery artifacts. If ARM64 fails while AMD64 passes, choose an explicit partial-rollout policy or hold the update; do not attach the AMD64 result to both images. Record the failed combination so the next proposal begins with the unresolved compatibility question.

READER SIGNAL

Was this guide useful?

Your rating helps us prioritize clearer, more practical technical content.

AREZGIT / DESKTOP WORKSPACEFROM FIELD NOTE TO RELEASE

Review diffs, run checks, and prepare the release in Arezgit.

Keep Git review, security scanning, API checks, database inspection, and release preparation together in one local desktop application.

Explore Arezgit