Skip to content

Exec never outputs anything #7

@dubo-dubon-duponey

Description

@dubo-dubon-duponey

With the following:

package acme

import (
	"dagger.cloud/dagger"
	"dagger.cloud/alpine"
)

let base=alpine & {
	package: {
		bash: ">3.0"
		rsync: true
	}
}


www: {

	source: {
		#dagger: compute: [
            dagger.#Load & { from: base },
			dagger.#Exec & {
			    args: ["sh", "-c", "echo", "shouldseeme"]
			    // XXX workaround exec not working without a mount
			    mount: foo: {}
			}
		]
	}

	host: string
}


And running

DEBUG=1 DOCKER_OUTPUT=1 dagger compute .

The string "shouldseeme" should be visible somewhere in the logs, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions