Universe: yarn: leverage alpine packages for using base image
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
parent
f891065b9f
commit
c887cfa4e3
@ -47,14 +47,13 @@ import (
|
|||||||
// Yarn version
|
// Yarn version
|
||||||
// yarnVersion: *"=~1.22" | string
|
// yarnVersion: *"=~1.22" | string
|
||||||
|
|
||||||
image: docker.#Image | *{
|
// FIXME: custom base image not supported
|
||||||
alpine.#Build & {
|
image: alpine.#Build & {
|
||||||
packages: {
|
packages: {
|
||||||
"bash": {}
|
bash: {}
|
||||||
"yarn": {}
|
yarn: {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Run yarn in a containerized build environment
|
// Run yarn in a containerized build environment
|
||||||
command: bash.#Run & {
|
command: bash.#Run & {
|
||||||
|
Reference in New Issue
Block a user