From 1d1ce2ba28a47cf1a427c0e51f905994eee220f2 Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Wed, 2 Feb 2022 14:58:09 -0800 Subject: [PATCH] universe: add note about package pinning for later Signed-off-by: Sam Alba --- pkg/universe.dagger.io/alpine/alpine.cue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkg/universe.dagger.io/alpine/alpine.cue b/pkg/universe.dagger.io/alpine/alpine.cue index 6dd35979..e2ad532e 100644 --- a/pkg/universe.dagger.io/alpine/alpine.cue +++ b/pkg/universe.dagger.io/alpine/alpine.cue @@ -12,7 +12,13 @@ import ( version: string | *"3.15.0@sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300" // List of packages to install - packages: [pkgName=string]: version: string | *"" + packages: [pkgName=string]: { + // NOTE(samalba, gh issue #1532): + // it's not recommended to pin the version as it is already pinned by the major Alpine version + // version pinning is for future use (as soon as we support custom repositories like `community`, + // `testing` or `edge`) + version: string | *"" + } docker.#Build & { steps: [