Universe: fix alpine.#Build
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
parent
9650940dd5
commit
f891065b9f
@ -22,12 +22,14 @@ let defaultVersion = "3.13.5@sha256:69e70a79f2d41ab5d637de98c1e0b055206ba40a8145
|
|||||||
source: "index.docker.io/alpine:\(version)"
|
source: "index.docker.io/alpine:\(version)"
|
||||||
},
|
},
|
||||||
for pkgName, pkg in packages {
|
for pkgName, pkg in packages {
|
||||||
run: cmd: {
|
docker.#Run & {
|
||||||
name: "apk"
|
cmd: {
|
||||||
args: ["add", "\(pkgName)\(version)"]
|
name: "apk"
|
||||||
flags: {
|
args: ["add", "\(pkgName)\(pkg.version)"]
|
||||||
"-U": true
|
flags: {
|
||||||
"--no-cache": true
|
"-U": true
|
||||||
|
"--no-cache": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -47,9 +47,13 @@ import (
|
|||||||
// Yarn version
|
// Yarn version
|
||||||
// yarnVersion: *"=~1.22" | string
|
// yarnVersion: *"=~1.22" | string
|
||||||
|
|
||||||
// FIXME: trouble getting docker.#Build to work (cueflow task dependencies not working)
|
image: docker.#Image | *{
|
||||||
image: alpine.#Build & {
|
alpine.#Build & {
|
||||||
packages: "bash": {}
|
packages: {
|
||||||
|
"bash": {}
|
||||||
|
"yarn": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run yarn in a containerized build environment
|
// Run yarn in a containerized build environment
|
||||||
|
Reference in New Issue
Block a user