yarn: enable image customization

Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
Solomon Hykes
2022-02-12 07:28:11 +00:00
parent 27aa487b21
commit a6502c7947
2 changed files with 34 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ import (
"universe.dagger.io/alpine"
"universe.dagger.io/bash"
"universe.dagger.io/docker"
)
// Build a Yarn package
@@ -59,7 +60,7 @@ import (
// Run yarn in a docker container
container: bash.#Run & {
input: _buildImage.output
input: *_buildImage.output | docker.#Image
// FIXME: move shell script to its own file
script: contents: #"""