Try new stages feature
This commit is contained in:
15
recipes/common/bluebuild.yml
Normal file
15
recipes/common/bluebuild.yml
Normal 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
|
||||
15
recipes/common/helix.yml
Normal file
15
recipes/common/helix.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
stages:
|
||||
- name: helix
|
||||
image: rust
|
||||
shell:
|
||||
- bash
|
||||
- -c
|
||||
modules:
|
||||
- type: script
|
||||
scripts:
|
||||
- install-helix.sh
|
||||
modules:
|
||||
- type: copy
|
||||
from: helix
|
||||
src: /out/helix
|
||||
dest: /usr/bin/
|
||||
@@ -2,5 +2,10 @@ name: jp-desktop
|
||||
base-image: ghcr.io/ublue-os/bazzite-nvidia
|
||||
image-version: 40
|
||||
description: The image of Wunker OS for JP's desktop gaming.
|
||||
stages:
|
||||
- from-file: common/bluebuild.yml
|
||||
- from-file: common/helix.yml
|
||||
modules:
|
||||
- from-file: common/jp-desktop.yml
|
||||
- from-file: common/bluebuild.yml
|
||||
- from-file: common/helix.yml
|
||||
|
||||
Reference in New Issue
Block a user