This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/pkg/universe.dagger.io/docker/image.cue
Helder Correia d55088c612
refactor!: Move image definitions to dagger/core
BREAKING CHANGE: Adjust imports for for `#Ref`, `#ImageConfig` and `#HealthCheck`.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-04-04 17:02:53 +00:00

25 lines
522 B
CUE

package docker
import (
"dagger.io/dagger"
"dagger.io/dagger/core"
)
// A container image
#Image: {
// Root filesystem of the image.
rootfs: dagger.#FS
// Image config
config: core.#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: core.#Ref