In KubeSphere DevOps, the pipeline runs on the agent of Jenkins. The agent depends on the kubernetes-plugin. It's necessary to provide Kubernetes a podTemplate, and the podTemplate defines the agent.
The definition method of podTemplate is:
podTemplate(containers: [
containerTemplate(name: 'base', image: 'kubesphere/builder-base:v2.1.0', ttyEnabled: true, command: 'cat')
])
This repo stores the build files of image for these podTemplate.
Welcome to contribute.
For production:
Name | Docker Pulls |
---|---|
kubesphere/builder-base |
|
kubesphere/builder-go |
|
kubesphere/builder-maven |
|
kubesphere/builder-nodejs |
For development:
Name | Docker Pulls |
---|---|
kubespheredev/builder-base |
|
kubespheredev/builder-go |
|
kubespheredev/builder-maven |
|
kubespheredev/builder-nodejs |
Enter the directory and execute:
docker build -f Dockerfile .
It's a better way to provide jenkinsfile for compiling images, like base agent.
- Slack #sig-devops
- Mailing list archive | subscribe | unsubscribe
- Medium (Blog)