17 lines
213 B
CUE
17 lines
213 B
CUE
|
package testing
|
||
|
|
||
|
#dagger: compute: [
|
||
|
{
|
||
|
do: "fetch-container"
|
||
|
ref: "alpine"
|
||
|
},
|
||
|
{
|
||
|
do: "exec"
|
||
|
args: ["sh", "-c", """
|
||
|
echo "pwd is: $(pwd)"
|
||
|
[ "$(pwd)" == "/etc" ] || exit 1
|
||
|
"""]
|
||
|
dir: "/etc"
|
||
|
},
|
||
|
]
|