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,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 & {