Try new stages feature

This commit is contained in:
Gerald Pinder
2024-05-02 16:03:35 -04:00
parent 43213f6022
commit c344efc32d
5 changed files with 53 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
stages:
- name: blue-build
image: rust
modules:
- type: containerfile
snippets:
- |
RUN cargo install blue-build --all-features --target x86_64-unknown-linux-gnu \
&& mkdir -p /out/ \
&& mv $CARGO_HOME/bin/bluebuild /out/bluebuild
modules:
- type: copy
from: blue-build
src: /out/bluebuild
dest: /usr/bin/bluebuild