Dagger
Search

redhat

Get and customize containers based on Red Hat Universal Base Images.

Installation

dagger install github.com/camptocamp/daggerverse/redhat@v0.2.3

Entrypoint

Return Type
Redhat !
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
func (m *myModule) example() *Redhat  {
	return dag.
			Redhat()
}
@function
def example() -> dag.Redhat:
	return (
		dag.redhat()
	)
@func()
example(): Redhat {
	return dag
		.redhat()
}

Types

Redhat 🔗

Red Hat Universal Base Image

container() 🔗

Get a Red Hat Universal Base Image container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
platformScalar -Platform to get container for
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 container
func (m *myModule) example() *Container  {
	return dag.
			Redhat().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.redhat()
		.container()
	)
@func()
example(): Container {
	return dag
		.redhat()
		.container()
}

module() 🔗

Red Hat Universal Base Image module constructor

Return Type
Module !
Arguments
NameTypeDefault ValueDescription
nameString !-Module name
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 module --name string
func (m *myModule) example(name string) *RedhatModule  {
	return dag.
			Redhat().
			Module(name)
}
@function
def example(name: str) -> dag.RedhatModule:
	return (
		dag.redhat()
		.module(name)
	)
@func()
example(name: string): RedhatModule {
	return dag
		.redhat()
		.module(name)
}

packages() 🔗

Red Hat Universal Base Image packages constructor

Return Type
Packages !
Arguments
NameTypeDefault ValueDescription
names[String ! ] !-Packages name
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 packages --names string1 --names string2
func (m *myModule) example(names []string) *RedhatPackages  {
	return dag.
			Redhat().
			Packages(names)
}
@function
def example(names: List[str]) -> dag.RedhatPackages:
	return (
		dag.redhat()
		.packages(names)
	)
@func()
example(names: string[]): RedhatPackages {
	return dag
		.redhat()
		.packages(names)
}

caCertificates() 🔗

Get Red Hat Universal Base Image CA certificates

Return Type
Directory !
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 ca-certificates
func (m *myModule) example() *Directory  {
	return dag.
			Redhat().
			CaCertificates()
}
@function
def example() -> dagger.Directory:
	return (
		dag.redhat()
		.ca_certificates()
	)
@func()
example(): Directory {
	return dag
		.redhat()
		.caCertificates()
}

minimal() 🔗

Red Hat Minimal Universal Base Image constructor

Return Type
Minimal !
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 minimal
func (m *myModule) example() *RedhatMinimal  {
	return dag.
			Redhat().
			Minimal()
}
@function
def example() -> dag.RedhatMinimal:
	return (
		dag.redhat()
		.minimal()
	)
@func()
example(): RedhatMinimal {
	return dag
		.redhat()
		.minimal()
}

micro() 🔗

Red Hat Micro Universal Base Image constructor

Return Type
Micro !
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 micro
func (m *myModule) example() *RedhatMicro  {
	return dag.
			Redhat().
			Micro()
}
@function
def example() -> dag.RedhatMicro:
	return (
		dag.redhat()
		.micro()
	)
@func()
example(): RedhatMicro {
	return dag
		.redhat()
		.micro()
}

Module 🔗

Red Hat Universal Base Image module

enabled() 🔗

Enable a module in a Red Hat Universal Base Image container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-Container in which to enable the module
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 module --name string \
 enabled --container IMAGE:TAG
func (m *myModule) example(name string, container *Container) *Container  {
	return dag.
			Redhat().
			Module(name).
			Enabled(container)
}
@function
def example(name: str, container: dagger.Container) -> dagger.Container:
	return (
		dag.redhat()
		.module(name)
		.enabled(container)
	)
@func()
example(name: string, container: Container): Container {
	return dag
		.redhat()
		.module(name)
		.enabled(container)
}

disabled() 🔗

Disable a module in a Red Hat Universal Base Image container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-Container in which to disable the module
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 module --name string \
 disabled --container IMAGE:TAG
func (m *myModule) example(name string, container *Container) *Container  {
	return dag.
			Redhat().
			Module(name).
			Disabled(container)
}
@function
def example(name: str, container: dagger.Container) -> dagger.Container:
	return (
		dag.redhat()
		.module(name)
		.disabled(container)
	)
@func()
example(name: string, container: Container): Container {
	return dag
		.redhat()
		.module(name)
		.disabled(container)
}

Packages 🔗

Red Hat Universal Base Image packages

installed() 🔗

Install packages in a Red Hat Universal Base Image container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-Container in which to install the packages
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 packages --names string1 --names string2 \
 installed --container IMAGE:TAG
func (m *myModule) example(names []string, container *Container) *Container  {
	return dag.
			Redhat().
			Packages(names).
			Installed(container)
}
@function
def example(names: List[str], container: dagger.Container) -> dagger.Container:
	return (
		dag.redhat()
		.packages(names)
		.installed(container)
	)
@func()
example(names: string[], container: Container): Container {
	return dag
		.redhat()
		.packages(names)
		.installed(container)
}

removed() 🔗

Remove packages in a Red Hat Universal Base Image container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-Container in which to remove the packages
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 packages --names string1 --names string2 \
 removed --container IMAGE:TAG
func (m *myModule) example(names []string, container *Container) *Container  {
	return dag.
			Redhat().
			Packages(names).
			Removed(container)
}
@function
def example(names: List[str], container: dagger.Container) -> dagger.Container:
	return (
		dag.redhat()
		.packages(names)
		.removed(container)
	)
@func()
example(names: string[], container: Container): Container {
	return dag
		.redhat()
		.packages(names)
		.removed(container)
}

Minimal 🔗

Red Hat Minimal Universal Base Image

container() 🔗

Get a Red Hat Minimal Universal Base Image container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
platformScalar -Platform to get container for
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 minimal \
 container
func (m *myModule) example() *Container  {
	return dag.
			Redhat().
			Minimal().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.redhat()
		.minimal()
		.container()
	)
@func()
example(): Container {
	return dag
		.redhat()
		.minimal()
		.container()
}

module() 🔗

Red Hat Minimal Universal Base Image module constructor

Return Type
MinimalModule !
Arguments
NameTypeDefault ValueDescription
nameString !-Module name
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 minimal \
 module --name string
func (m *myModule) example(name string) *RedhatMinimalModule  {
	return dag.
			Redhat().
			Minimal().
			Module(name)
}
@function
def example(name: str) -> dag.RedhatMinimalModule:
	return (
		dag.redhat()
		.minimal()
		.module(name)
	)
@func()
example(name: string): RedhatMinimalModule {
	return dag
		.redhat()
		.minimal()
		.module(name)
}

packages() 🔗

Red Hat Minimal Universal Base Image packages constructor

Return Type
MinimalPackages !
Arguments
NameTypeDefault ValueDescription
names[String ! ] !-Packages name
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 minimal \
 packages --names string1 --names string2
func (m *myModule) example(names []string) *RedhatMinimalPackages  {
	return dag.
			Redhat().
			Minimal().
			Packages(names)
}
@function
def example(names: List[str]) -> dag.RedhatMinimalPackages:
	return (
		dag.redhat()
		.minimal()
		.packages(names)
	)
@func()
example(names: string[]): RedhatMinimalPackages {
	return dag
		.redhat()
		.minimal()
		.packages(names)
}

Micro 🔗

Red Hat Micro Universal Base Image

container() 🔗

Get a Red Hat Micro Universal Base Image container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
platformScalar -Platform to get container for
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 micro \
 container
func (m *myModule) example() *Container  {
	return dag.
			Redhat().
			Micro().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.redhat()
		.micro()
		.container()
	)
@func()
example(): Container {
	return dag
		.redhat()
		.micro()
		.container()
}

MinimalModule 🔗

Red Hat Minimal Universal Base Image module

enabled() 🔗

Enable a module in a Red Hat Minimal Universal Base Image container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-Container in which to enable the module
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 minimal \
 module --name string \
 enabled --container IMAGE:TAG
func (m *myModule) example(name string, container *Container) *Container  {
	return dag.
			Redhat().
			Minimal().
			Module(name).
			Enabled(container)
}
@function
def example(name: str, container: dagger.Container) -> dagger.Container:
	return (
		dag.redhat()
		.minimal()
		.module(name)
		.enabled(container)
	)
@func()
example(name: string, container: Container): Container {
	return dag
		.redhat()
		.minimal()
		.module(name)
		.enabled(container)
}

disabled() 🔗

Disable a module in a Red Hat Minimal Universal Base Image container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-Container in which to disable the module
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 minimal \
 module --name string \
 disabled --container IMAGE:TAG
func (m *myModule) example(name string, container *Container) *Container  {
	return dag.
			Redhat().
			Minimal().
			Module(name).
			Disabled(container)
}
@function
def example(name: str, container: dagger.Container) -> dagger.Container:
	return (
		dag.redhat()
		.minimal()
		.module(name)
		.disabled(container)
	)
@func()
example(name: string, container: Container): Container {
	return dag
		.redhat()
		.minimal()
		.module(name)
		.disabled(container)
}

MinimalPackages 🔗

Red Hat Minimal Universal Base Image packages

installed() 🔗

Install packages in a Red Hat Minimal Universal Base Image container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-Container in which to install the packages
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 minimal \
 packages --names string1 --names string2 \
 installed --container IMAGE:TAG
func (m *myModule) example(names []string, container *Container) *Container  {
	return dag.
			Redhat().
			Minimal().
			Packages(names).
			Installed(container)
}
@function
def example(names: List[str], container: dagger.Container) -> dagger.Container:
	return (
		dag.redhat()
		.minimal()
		.packages(names)
		.installed(container)
	)
@func()
example(names: string[], container: Container): Container {
	return dag
		.redhat()
		.minimal()
		.packages(names)
		.installed(container)
}

removed() 🔗

Remove packages in a Red Hat Minimal Universal Base Image container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-Container in which to remove the packages
Example
dagger -m github.com/camptocamp/daggerverse/redhat@907e79836f3b8e8f5d22e0e34e150604cea4fa40 call \
 minimal \
 packages --names string1 --names string2 \
 removed --container IMAGE:TAG
func (m *myModule) example(names []string, container *Container) *Container  {
	return dag.
			Redhat().
			Minimal().
			Packages(names).
			Removed(container)
}
@function
def example(names: List[str], container: dagger.Container) -> dagger.Container:
	return (
		dag.redhat()
		.minimal()
		.packages(names)
		.removed(container)
	)
@func()
example(names: string[], container: Container): Container {
	return dag
		.redhat()
		.minimal()
		.packages(names)
		.removed(container)
}