From 963aa5c592060e9708291260a3dfadf6ae452065 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 19 Jan 2022 14:06:39 -0700 Subject: [PATCH] added architectures map for default versions Signed-off-by: Richard Jones --- pkg/universe.dagger.io/alpine/alpine.cue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkg/universe.dagger.io/alpine/alpine.cue b/pkg/universe.dagger.io/alpine/alpine.cue index c55694ab..cbef26f3 100644 --- a/pkg/universe.dagger.io/alpine/alpine.cue +++ b/pkg/universe.dagger.io/alpine/alpine.cue @@ -5,10 +5,18 @@ import ( "universe.dagger.io/docker" ) +_arches: { + "linux/amd64": "3.15.0@sha256:e7d88de73db3d3fd9b2d63aa7f447a10fd0220b7cbf39803c803f2af9ba256b3" + "linux/arm64/v8": "3.15.0@sha256:c74f1b1166784193ea6c8f9440263b9be6cae07dfe35e32a5df7a31358ac2060" +} + // Build an Alpine Linux container image #Build: { + // Architecture to support + arch: string | *"linux/amd64" + // Alpine version to install - version: string | *"latest" + version: string | *_arches[arch] // List of packages to install packages: [pkgName=string]: version: string | *""