import (
    "universe.dagger.io/alpine"
    "universe.dagger.io/docker"
)

// Build docker image (depends on build)
image: docker.#Build & {
	steps: [
		alpine.#Build,
		docker.#Copy & {
			input:    _base.output
			contents: build.output
			dest:     "/usr/bin"
		},
		docker.#Set & {
			config: cmd: ["</path/to/binary>"]
		},
	]
}
