diff --git a/stdlib/aws/aws.cue b/stdlib/aws/aws.cue index 1a3663c8..e23a88f5 100644 --- a/stdlib/aws/aws.cue +++ b/stdlib/aws/aws.cue @@ -24,10 +24,10 @@ import ( op.#Load & { from: alpine.#Image & { "package": package - "package": bash: "=5.1.0-r0" - "package": jq: "=1.6-r1" - "package": curl: "=7.74.0-r1" - "package": "aws-cli": "=1.18.177-r0" + "package": bash: "=~5.1" + "package": jq: "=~1.6" + "package": curl: "=~7.74" + "package": "aws-cli": "=~1.18" } }, ] diff --git a/tests/stdlib/alpine/alpine.cue b/tests/stdlib/alpine/alpine.cue index 1bcd3e62..19a100d4 100644 --- a/tests/stdlib/alpine/alpine.cue +++ b/tests/stdlib/alpine/alpine.cue @@ -8,7 +8,7 @@ import ( TestImageVersion: { image: alpine.#Image & { // install an old version on purpose - version: "3.10.6" + version: "3.10.9" } test: #up: [ @@ -18,7 +18,7 @@ TestImageVersion: { "sh", "-ec", """ - test "$(cat /etc/alpine-release)" = 3.10.6 + test "$(cat /etc/alpine-release)" = 3.10.9 """, ] }, @@ -28,7 +28,8 @@ TestImageVersion: { TestPackageInstall: { image: alpine.#Image & { package: jq: true - package: curl: "=~7.74.0" + package: curl: "=~7.76" + version: "3.13" } test: #up: [ @@ -37,7 +38,7 @@ TestPackageInstall: { args: ["jq", "--version"] }, op.#Exec & { - args: ["sh", "-ec", "curl --version | grep -q 7.74.0"] + args: ["sh", "-ec", "curl --version | grep -q 7.76"] }, ] }