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)"
|
||||
},
|
||||
for pkgName, pkg in packages {
|
||||
run: cmd: {
|
||||
name: "apk"
|
||||
args: ["add", "\(pkgName)\(version)"]
|
||||
flags: {
|
||||
"-U": true
|
||||
"--no-cache": true
|
||||
docker.#Run & {
|
||||
cmd: {
|
||||
name: "apk"
|
||||
args: ["add", "\(pkgName)\(pkg.version)"]
|
||||
flags: {
|
||||
"-U": true
|
||||
"--no-cache": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -47,9 +47,13 @@ import (
|
||||
// Yarn version
|
||||
// yarnVersion: *"=~1.22" | string
|
||||
|
||||
// FIXME: trouble getting docker.#Build to work (cueflow task dependencies not working)
|
||||
image: alpine.#Build & {
|
||||
packages: "bash": {}
|
||||
image: docker.#Image | *{
|
||||
alpine.#Build & {
|
||||
packages: {
|
||||
"bash": {}
|
||||
"yarn": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Run yarn in a containerized build environment
|
||||
|
Reference in New Issue
Block a user