This commit is contained in:
Morten Olsen
2022-04-03 22:15:45 +02:00
parent 56235d8f5e
commit cc7b7c6849
105 changed files with 15694 additions and 6 deletions

26
cue.mod/pkg/universe.dagger.io/docker/set.cue generated Executable file
View File

@@ -0,0 +1,26 @@
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
}
}