Skip to content

kubesphere/devops-agent

Repository files navigation

Gitpod ready-to-code

KubeSphere DevOps Agent

Introduction

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.

Images

For production:

Name Docker Pulls
kubesphere/builder-base Docker Pulls
kubesphere/builder-go Docker Pulls
kubesphere/builder-maven Docker Pulls
kubesphere/builder-gradle Docker Pulls
kubesphere/builder-nodejs Docker Pulls
kubesphere/builder-dotnet Docker Pulls
kubesphere/builder-python Docker Pulls

For development:

Name Docker Pulls
kubespheredev/builder-base Docker Pulls
kubespheredev/builder-go Docker Pulls
kubespheredev/builder-maven Docker Pulls
kubespheredev/builder-gradle Docker Pulls
kubespheredev/builder-nodejs Docker Pulls
kubespheredev/builder-dotnet Docker Pulls
kubespheredev/builder-python Docker Pulls

How to Build

Enter the directory and execute:

docker build -f Dockerfile .

It's a better way to provide jenkinsfile for compiling images, like base agent.

Join & Contact Community