curl: do not hardcode version requirement

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba
2021-05-27 14:20:15 +02:00
parent dd17c48922
commit f6aea7e529
7 changed files with 11 additions and 11 deletions

View File

@@ -28,7 +28,7 @@ TestImageVersion: {
TestPackageInstall: {
image: alpine.#Image & {
package: jq: true
package: curl: "=~7.77"
package: curl: true
version: "3.13"
}
@@ -38,7 +38,7 @@ TestPackageInstall: {
args: ["jq", "--version"]
},
op.#Exec & {
args: ["sh", "-ec", "curl --version | grep -q 7.76"]
args: ["sh", "-ec", "curl --version"]
},
]
}

View File

@@ -26,7 +26,7 @@ TestNetlify: {
op.#Load & {
from: alpine.#Image & {
package: bash: "=~5.1"
package: curl: "=~7.77"
package: curl: true
}
},
op.#Exec & {