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/x/contact@kjuulh.io/rust/image.cue

22 lines
285 B
CUE
Raw Normal View History

2022-04-19 22:45:36 +02:00
package rust
import (
"universe.dagger.io/docker"
)
// rust image default version
_#DefaultVersion: "1.60"
// Pull rust base image
#Image: {
version: *_#DefaultVersion | string
docker.#Build & {
steps: [
docker.#Pull & {
source: "rust:\(version)-alpine"
},
]
}
}