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/olli.janatuinen@gmail.com/dotnet/image.cue
Olli Janatuinen 65db7e9824 feat: support .NET
Signed-off-by: Olli Janatuinen <olli.janatuinen@gmail.com>
2022-04-06 23:10:38 +02:00

21 lines
313 B
CUE

package dotnet
import (
"universe.dagger.io/docker"
)
// .NET image default version
_#DefaultVersion: "6.0"
// Pull a dotnet base image
#Image: {
version: *_#DefaultVersion | string
docker.#Build & {
steps: [
docker.#Pull & {
source: "mcr.microsoft.com/dotnet/sdk:\(version)-alpine"
},
]
}
}