6fe49a0294
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
22 lines
361 B
Plaintext
22 lines
361 B
Plaintext
import (
|
|
"universe.dagger.io/alpine"
|
|
"universe.dagger.io/docker"
|
|
)
|
|
|
|
// Build docker image (depends on build)
|
|
image: {
|
|
_base: alpine.#Build & {}
|
|
|
|
docker.#Build & {
|
|
steps: [
|
|
docker.#Copy & {
|
|
input: _base.output
|
|
contents: build.output
|
|
dest: "/usr/bin"
|
|
},
|
|
docker.#Set & {
|
|
config: cmd: ["</path/to/binary>"]
|
|
},
|
|
]
|
|
}
|
|
} |