c2766c265b
Signed-off-by: Solomon Hykes <solomon@dagger.io>
24 lines
501 B
CUE
24 lines
501 B
CUE
package docker
|
|
|
|
import (
|
|
"dagger.io/dagger"
|
|
)
|
|
|
|
// A container image
|
|
#Image: {
|
|
// Root filesystem of the image.
|
|
rootfs: dagger.#FS
|
|
|
|
// Image config
|
|
config: dagger.#ImageConfig
|
|
}
|
|
|
|
// A ref is an address for a remote container image
|
|
// Examples:
|
|
// - "index.docker.io/dagger"
|
|
// - "dagger"
|
|
// - "index.docker.io/dagger:latest"
|
|
// - "index.docker.io/dagger:latest@sha256:a89cb097693dd354de598d279c304a1c73ee550fbfff6d9ee515568e0c749cfe"
|
|
// FIXME: add formatting constraints
|
|
#Ref: dagger.#Ref
|