Skip to content
forked from osbuild/images

Image builder image definition library

License

Notifications You must be signed in to change notification settings

achilleas-k/images

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Images

This repository is, primarily, a Go library for generating osbuild manifests (more details here). It also has some libraries for uploading artifacts to cloud platforms and Koji. The binaries implemented in cmd/ are for development and testing purposes and not part of the library.

Project

Principles

  1. The image definitions API is internal and can therefore be broken. The blueprint API is the stable API.
  2. Nonsensical manifests should not compile (at the Golang level).
  3. OSBuild units (stages, sources, inputs, mounts, devices) should be directly mapped into Go objects.
  4. Image definitions don’t test distributions that are end-of-life. Respective code-paths should be dropped.
  5. Image definitions need to support the oldest supported target distribution.

Contributing

Please refer to the developer guide to learn about our workflow, code style and more.

See also the local developer documentation for useful information about working with this specific project.

The build-requirements of the Go library for Fedora and rpm-based distributions are:

  • go
  • gpgme-devel

(see also Containerfile )

Other dependencies only needed in some cases are:

  • btrfs-progs-devel, device-mapper-devel
    build dependencies for the unit tests and projects that import pkg/container, which even in that case can be skipped using exclude_graphdriver_btrfs and exclude_graphdriver_devicemapper (see bootc-image-builder).
  • krb5-devel
    build dependency for the unit tests and projects that import pkg/upload/koji
  • osbuild-depsolve-dnf
    runtime dependency for the unit tests and projects that import pkg/dnfjson. or to run cmd/gen-manifests and cmd/build
  • osbuild (and subpackages)
    runtime dependencies for cmd/build.

Repository:

Pull request gating

Each pull request against images starts a series of automated tests. Tests run via GitHub Actions and GitLab CI. Each push to the pull request will launch theses tests automatically.

License:

  • Apache-2.0
  • See LICENSE file for details.

About

Image builder image definition library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.3%
  • Python 4.4%
  • Other 0.3%