Dockerfile Standards
Container image expectations for Assistance-operated environments
Dockerfiles define what runs inside your containers. Assistance reviews and operates the platform around container images, but the application team remains responsible for what the image contains and how the process behaves unless application engineering is explicitly in scope.
What a production-ready image needs#
What Assistance operates#
What the customer owns#
Do not bake secrets into images
Secrets, certificates, tokens, and customer data must be delivered through the agreed secret-management mechanism. Images should be safe to store in the configured registry and cache layers.
Assistance review checklist#
- pinned or intentionally managed base image
- deterministic dependency installation
- multi-stage build where it materially reduces risk or size
- non-root runtime user where compatible
- no secret material copied into layers
- explicit ports and runtime command
- health endpoint or documented readiness behavior
- log output suitable for the platform collector
- known persistent paths, if any
- documented owner for vulnerability and dependency changes
Change workflow#
Request review when changing language runtime versions, base images, package managers, exposed ports, persistent paths, health checks, or build secrets. Emergency changes may be needed for actively exploited vulnerabilities, but Assistance still needs validation evidence before promoting the image into a managed production environment.
Not included by default#
- rewriting application build systems
- fixing application dependency conflicts
- owning license/compliance decisions for packages in the image
- guaranteeing performance for images that bypass review
- accepting images without an owner and rollback path
Related docs and services#
- Container Runtime Basics
- Container Runtime Onboarding
- Managed Docker Registry
- Managed Artifact Repositories
- DevOps as a Service
Getting started#
Share the Dockerfile, build pipeline, registry target, deployment target, and current security or reliability concerns. Assistance will review the image path and define the operating boundary.
Request container review →