removed platforms map, using multiarch digest
Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
parent
eed03d02ae
commit
da8bc373f9
@ -5,18 +5,11 @@ import (
|
|||||||
"universe.dagger.io/docker"
|
"universe.dagger.io/docker"
|
||||||
)
|
)
|
||||||
|
|
||||||
_platforms: {
|
|
||||||
"linux/amd64": "3.15.0@sha256:e7d88de73db3d3fd9b2d63aa7f447a10fd0220b7cbf39803c803f2af9ba256b3"
|
|
||||||
"linux/arm64/v8": "3.15.0@sha256:c74f1b1166784193ea6c8f9440263b9be6cae07dfe35e32a5df7a31358ac2060"
|
|
||||||
}
|
|
||||||
|
|
||||||
// Build an Alpine Linux container image
|
// Build an Alpine Linux container image
|
||||||
#Build: {
|
#Build: {
|
||||||
// Platform to support
|
|
||||||
platform: string | *"linux/amd64"
|
|
||||||
|
|
||||||
// Alpine version to install. Setting this will override platform.
|
// Alpine version to install.
|
||||||
version: string | *_platforms[platform]
|
version: string | *"3.15.0@sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300"
|
||||||
|
|
||||||
// List of packages to install
|
// List of packages to install
|
||||||
packages: [pkgName=string]: version: string | *""
|
packages: [pkgName=string]: version: string | *""
|
||||||
|
Reference in New Issue
Block a user