Universe: yarn: leverage alpine packages for using base image

Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
Sam Alba 2022-01-19 09:59:06 -08:00
parent f891065b9f
commit c887cfa4e3

View File

@ -47,12 +47,11 @@ import (
// Yarn version
// yarnVersion: *"=~1.22" | string
image: docker.#Image | *{
alpine.#Build & {
// FIXME: custom base image not supported
image: alpine.#Build & {
packages: {
"bash": {}
"yarn": {}
}
bash: {}
yarn: {}
}
}