Skip to content

#DockerBuild.platforms seems to be non-functioning #437

@dubo-dubon-duponey

Description

@dubo-dubon-duponey
package cake

import (
	"dagger.io/dagger/op"
)

mybuild: #up: [
	op.#DockerBuild & {
		dockerfile: """
		FROM debian
		"""
		platforms: ["linux/amd64", "linux/arm64"]
	},
]

6:22PM FTL system | failed to up environment: buildkit solve: task failed: invalid map result

Buildkitd output the same (unhelpful) message:

ERRO[0010] /moby.buildkit.v1.Control/Solve returned error: rpc error: code = Unknown desc = task failed: invalid map result

This works fine with a single platform being listed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions