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]:
- Code Modification: The process begins with the modification of the application's source code^[400-devops__06-Kubernetes__本地開發_Kubernetes_應用程式流程.md].
- Image Build: A
Dockerfileis used to generate a Docker Container Image from the source code^[400-devops__06-Kubernetes__本地開發_Kubernetes_應用程式流程.md]. - Deployment: The new version of the application is deployed to the Kubernetes cluster^[400-devops__06-Kubernetes__本地開發_Kubernetes_應用程式流程.md].
- 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]