container-build

Synopsis

sample-rpkg container-build [-h] [--target TARGET] [--nowait] [--background] [--build-release BUILD_RELEASE] [--isolated] [--koji-parent-build KOJI_PARENT_BUILD]
                            [--scratch] [--arches [ARCHES ...]] [--repo-url URL [URL ...]] [--signing-intent SIGNING_INTENT] [--skip-remote-rules-validation]
                            [--skip-build] [--compose-id COMPOSE_ID [COMPOSE_ID ...]] [--replace-dependency PKG_MANAGER:NAME:VERSION[:NEW_NAME]
                            [PKG_MANAGER:NAME:VERSION[:NEW_NAME] ...]]

Description

Build a container

Options

-h --help

show this help message and exit

--target

Override the default target

--nowait

Don’t wait on build

--background

Run the build at a lower priority

--build-release

Specify a release value for this build’s NVR

--isolated

Do not update floating tags in the registry. You must use the --build-release argument

--koji-parent-build

Specify a Koji NVR for the parent container image. This will override the “FROM” value in your Dockerfile.

--scratch

Scratch build

--arches

Limit a scratch or a isolated build to an arch. May have multiple arches.

--repo-url

URLs of yum repo files

--signing-intent

Signing intent of the ODCS composes. If specified, this must be one of the signing intent names configured on the OSBS server. If unspecified, the server will use the signing intent of the compose_ids you specify, or the server’s default_signing_intent. To view the full list of possible names, see atomic_reactor.config in osbs-build.log.

--skip-remote-rules-validation

Don’t check if there’s a valid gating.yaml file in the repo

--skip-build

Don’t create build, but just modify settings for autorebuilds

--compose-id

Existing ODCS composes to use (specify integers). OSBS will not generate new ODCS composes. Cannot be used with --signing-intent.

--replace-dependency

Cachito dependency replacement