-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Goals This PR adds snippets which is being discussed in #41 . It will generate snippet lines for *ONLY* our containerfile module - [x] allow for modules to specify snippets - [x] append snippets to module run inside Containerfile - [ ] write supporting test ## Preview Recipe.yml ```yml # image will be published to ghcr.io/<user>/<name> name: orora description: A starting point for further customization of uBlue images. Make your own! https://ublue.it/making-your-own/ base-image: ghcr.io/ublue-os/silverblue-main image-version: latest # latest is also supported if you want new updates ASAP modules: - type: signing snippets: - COPY --from=ghcr.io/blue-build/cli:latest-installer /out/BLUEBUILD /usr/bin/BLUEBUILD ``` Generated Container File snippet ```docker RUN chmod +x /tmp/modules/signing/signing.sh && source /tmp/exports.sh && /tmp/modules/signing/signing.sh '{"type":"signing","snippets":["COPY --from=ghcr.io/blue-build/cli:latest-installer /out/BLUEBUILD /usr/bin/BLUEBUILD"]}' COPY --from=ghcr.io/blue-build/cli:latest-installer /out/BLUEBUILD /usr/bin/BLUEBUILD ``` --------- Co-authored-by: Gerald Pinder <[email protected]>
- Loading branch information
1 parent
2492bb0
commit 0d8fd93
Showing
6 changed files
with
29 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
.vscode/ | ||
|
||
# Local testing for bluebuild recipe files | ||
/config/ | ||
/config/* | ||
Containerfile |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters