Skip to main content

Image Builder

Image Builder is a feature within the Shakudo platform that helps to build docker images and use them within sessions, jobs or microservices.

Let’s take a quick example of how to build Docker images and make it an EC (Environment Config).

We have an example Dockerfile here:

Example Dockerfile

To build an image from this Dockerfile, first, we need to create a Git server to link to the relevant Git repository.

Steps:

  1. Add a git server (shakudo-examples) where we want to fetch the Dockerfile. create a git server

  2. Go to Container Images tab.

  3. Select Create Container Image on the top right corner and fill in the details appropriately.

See the example below:

create a container image

The Dockerfile Path is the file path from the root of the repo.

  1. After the job is completed, you can Convert to EC and use it in Sessions, Jobs, or Microservices.

  2. You can also view the container image details in Harbor by selecting Open in Harbor to see the images built from Image Builder.