oci-sysext

command module
v0.0.0-...-4eeb265 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

README

OCI-SYSEXT

This tool aims to be a little bridge to transform an OCI image into a systemd-sysext compatible raw image.

Compile

CGO_ENABLED=0 go build -mod vendor -ldflags="-s -w"

Usage

./oci-sysext pull cgr.dev/chainguard/wolfi-base
 ./oci-sysext create --image cgr.dev/chainguard/wolfi-base --name wolfi-zero-cve-userspace --fs btrfs --image-source <optional-to-diff-against>
Usage notes
  • Supported --fs are squashfs and btrfs

Documentation

Overview

Package main is the main package, nothing much here, just:

  • setup of the environment
  • setup of cobra

Directories

Path Synopsis
Package cmd contains all the cobra commands for the CLI application.
Package cmd contains all the cobra commands for the CLI application.
pkg
fileutils
Package fileutils contains utilities and helpers to manage and manipulate files.
Package fileutils contains utilities and helpers to manage and manipulate files.
imageutils
Package imageutils contains helpers and utilities for managing and pulling images.
Package imageutils contains helpers and utilities for managing and pulling images.
logging
Package logging will handle multi-level logging for the application.
Package logging will handle multi-level logging for the application.
sysextutils
Package sysextutils contains helpers and utilities for managing and creating sysexts.
Package sysextutils contains helpers and utilities for managing and creating sysexts.
utils
Package utils contains generic helpers, utilities and structs.
Package utils contains generic helpers, utilities and structs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL