Files
morten-olsen.github.io/cue.mod/pkg/universe.dagger.io/docker/set.cue
Morten Olsen cc7b7c6849 update
2022-04-03 22:15:45 +02:00

27 lines
385 B
CUE
Executable File
Generated

package docker
import (
"dagger.io/dagger"
"dagger.io/dagger/core"
)
// Change image config
#Set: {
// The source image
input: #Image
// The image config to change
config: dagger.#ImageConfig
_set: core.#Set & {
"input": input.config
"config": config
}
// Resulting image with the config changes
output: #Image & {
rootfs: input.rootfs
config: _set.output
}
}