Skip to content

Dockerfile-free container building

Dockerfile-free container building is a method of creating container images without authoring a Dockerfile manually.^[pack.md]

This approach relies on tools that automatically detect project dependencies and configurations to construct a runnable image.^[pack.md]

Tools

pack is a CLI tool maintained by the Cloud Native Buildpacks project that supports this workflow^[pack.md]. It allows users to build OCI images without writing a Dockerfile^[pack.md].

Instead of manual instructions, pack analyzes the project source code to detect specific build tools and dependencies^[pack.md]. For example, it can automatically identify and configure builds for projects using [[[maven|Maven]]] or [[[gradle|Gradle]]]^[pack.md].

Sources

  • pack.md