Europa: integrate core packages, separate universe
Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
21
europa-universe/bash/bash.cue
Normal file
21
europa-universe/bash/bash.cue
Normal file
@@ -0,0 +1,21 @@
|
||||
// Helpers to run bash commands in containers
|
||||
package bash
|
||||
|
||||
import (
|
||||
"universe.dagger.io/docker"
|
||||
)
|
||||
|
||||
// Run a bash command or script in a container
|
||||
#Run: docker.#Run & {
|
||||
script: string
|
||||
cmd: {
|
||||
name: "bash"
|
||||
flags: {
|
||||
"-c": script
|
||||
"--noprofile": true
|
||||
"--norc": true
|
||||
"-e": true
|
||||
"-o": "pipefail"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user