Smaller, cleaner test

Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
Joel Longtine 2022-01-07 16:41:36 -07:00
parent 4d4fbb20b5
commit a184fe6fce

View File

@ -6,18 +6,10 @@ import (
engine.#Plan & {
actions: {
write: engine.#WriteFile & {
input: engine.#Scratch
path: "/.dockerignore"
contents: "Dockerfile"
permissions: 700
}
build: engine.#Build & {
source: write.output
dockerfile: contents: """
FROM scratch
"""
source: engine.#Scratch
dockerfile: contents: "FROM scratch"
// Assert that output is engine.#Scratch
output: engine.#Scratch
}