995881ffb5
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
20 lines
335 B
Plaintext
20 lines
335 B
Plaintext
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>"]
|
|
},
|
|
]
|
|
}
|