Skip to content

Container image build process

The container image build process is a core workflow in application deployment and DevOps, specifically within environments like Kubernetes. It transforms source code into an executable artifact that can be run consistently across different infrastructures^[400-devops__06-Kubernetes__本地開發_Kubernetes_應用程式流程.md].

Process Steps

The workflow generally follows a linear sequence starting from code modification and ending with resource provisioning^[400-devops__06-Kubernetes__本地開發_Kubernetes_應用程式流程.md]:

  1. Code Modification: The process begins with the modification of the application's source code^[400-devops__06-Kubernetes__本地開發_Kubernetes_應用程式流程.md].
  2. Image Build: A Dockerfile is used to generate a Docker Container Image from the source code^[400-devops__06-Kubernetes__本地開發_Kubernetes_應用程式流程.md].
  3. Deployment: The new version of the application is deployed to the Kubernetes cluster^[400-devops__06-Kubernetes__本地開發_Kubernetes_應用程式流程.md].
  4. Provisioning: Kubernetes utilizes the new Docker Container Image to create and spin up the necessary compute resources, such as pods, to run the application^[400-devops__06-Kubernetes__本地開發_Kubernetes_應用程式流程.md].

Sources

^[400-devops__06-Kubernetes__本地開發_Kubernetes_應用程式流程.md]