turn `build-image.sh` into a high-level tool

Open
#10 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, git, shell

Research direction

Start by inspecting build-image.sh and the repository's Dockerfiles to understand the current image-building flow. Define how the high-level tool should support Cilium releases, testing, multi-platform builds, Git-based tags, and digest mapping. Done means the tool is simple to maintain, usable in the Cilium repository, and presents human-friendly image metadata.

Written by the indexing model from the issue text.

Description

Use-cases:

There are many ways of building a Docker image, it would be beneficial to Cilium project to provide consistent and reliable method for building image on release as well as for testing, this method should cater for multi-platform builds as well.

Building an image involves a series of base images, it's desirable to reference the by digest for maximum reproducibility. Digests are hard to manage manually, furthermore - digests are simply not human friendly. It would be very helpful to have a human friendly source for mapping digests to sources in git and general information like the build date and description of key facts about images (e.g. software versions).

Requirements:

  • make it usable in Cilium repo
  • ensure it serves a human-friendly layer on top of automatic git-based tags and image digests
  • make sure it easy to use and very simple to maintain
Dominant language
Shell
Stars
28
Forks
34
Avg merge
13h 17m
Merged PRs (30d)
24

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cilium/image-tools

All issues in cilium/image-tools

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.