Make new recipe
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -50,7 +50,8 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
recipe:
|
recipe:
|
||||||
- recipe.yml
|
- recipe-framework.yml
|
||||||
|
- recipe-desktop.yml
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Checkout push-to-registry action GitHub repository
|
# Checkout push-to-registry action GitHub repository
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
# in the cloud. The ARGs have default values, but changing those
|
# in the cloud. The ARGs have default values, but changing those
|
||||||
# does nothing if the image is built in the cloud.
|
# does nothing if the image is built in the cloud.
|
||||||
|
|
||||||
ARG FEDORA_MAJOR_VERSION=38
|
ARG FEDORA_MAJOR_VERSION=37
|
||||||
# Warning: changing this might not do anything for you. Read comment above.
|
# Warning: changing this might not do anything for you. Read comment above.
|
||||||
ARG BASE_IMAGE_URL=ghcr.io/ublue-os/silverblue-main
|
ARG BASE_IMAGE_URL=ghcr.io/ublue-os/kinoite-main
|
||||||
|
|
||||||
# This is to install xboxdrv for the Xbox 360 controller.
|
# This is to install xboxdrv for the Xbox 360 controller.
|
||||||
FROM registry.fedoraproject.org/fedora-toolbox:${FEDORA_MAJOR_VERSION} as xboxdrv-bin
|
FROM registry.fedoraproject.org/fedora-toolbox:${FEDORA_MAJOR_VERSION} as xboxdrv-bin
|
||||||
@@ -20,7 +20,7 @@ FROM ${BASE_IMAGE_URL}:${FEDORA_MAJOR_VERSION}
|
|||||||
|
|
||||||
# The default recipe set to the recipe's default filename
|
# The default recipe set to the recipe's default filename
|
||||||
# so that `podman build` should just work for many people.
|
# so that `podman build` should just work for many people.
|
||||||
ARG RECIPE=./recipe.yml
|
ARG RECIPE=./recipe-framework.yml
|
||||||
|
|
||||||
# Copy static configurations and component files.
|
# Copy static configurations and component files.
|
||||||
# Warning: If you want to place anything in "/etc" of the final image, you MUST
|
# Warning: If you want to place anything in "/etc" of the final image, you MUST
|
||||||
|
|||||||
85
recipe-desktop.yml
Normal file
85
recipe-desktop.yml
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
# This file can only be edited inside the uBlue image's git repository.
|
||||||
|
|
||||||
|
# The image will be at "ghcr.io/yourusername/name".
|
||||||
|
name: wunker-os
|
||||||
|
# The native container image to build on top of.
|
||||||
|
# Warning: Non-uBlue images might not work properly, due to missing components.
|
||||||
|
base-image: ghcr.io/ublue-os/kinoite-nvidia
|
||||||
|
# What Fedora version to use. Use an explicit version or `latest`.
|
||||||
|
# If you use `latest`, you will be automatically updated to the next major
|
||||||
|
# Fedora version, assuming the image you're using as your base container
|
||||||
|
# builds with the tag (all uBlue images do this).
|
||||||
|
fedora-version: 37
|
||||||
|
# This description will be visible in the container metadata.
|
||||||
|
description: A starting point for further customization of uBlue images. Make your own! https://ublue.it/making-your-own/
|
||||||
|
# These scripts will be executed during the container build.
|
||||||
|
# Place scripts in the "scripts/" dir and put the corresponding filenames here.
|
||||||
|
# Any files that aren't listed here won't be executed automatically, which
|
||||||
|
# means that you can place "helper" or "library" scripts in the folder too.
|
||||||
|
# You can use "autorun.sh" if you want an automatic runner.
|
||||||
|
scripts:
|
||||||
|
# "Pre" scripts run very early in the build, immediately after your custom
|
||||||
|
# repos have been imported (so that you can access those repos if necessary).
|
||||||
|
pre:
|
||||||
|
# Automatically runs script files within "scripts/pre/".
|
||||||
|
- autorun.sh
|
||||||
|
# Manually listed scripts.
|
||||||
|
# - example_pre.sh
|
||||||
|
# "Post" scripts run at the end of the build process.
|
||||||
|
post:
|
||||||
|
# Automatically runs script files within "scripts/post/".
|
||||||
|
- autorun.sh
|
||||||
|
# Manually listed scripts.
|
||||||
|
# - example_post.sh
|
||||||
|
# Custom RPM configuration.
|
||||||
|
# These changes will be integrated into your custom image at the "system level".
|
||||||
|
rpm:
|
||||||
|
# A list of urls of ".repo" files that should be added to your system.
|
||||||
|
# This is the proper way to add custom COPR repos to your image.
|
||||||
|
# Tip: Use `%FEDORA_VERSION%` instead of static Fedora version numbers,
|
||||||
|
# so that your repos automatically use your image's actual Fedora version,
|
||||||
|
# which greatly simplifies future maintenance of your custom recipe.
|
||||||
|
repos:
|
||||||
|
# Example (which also demonstrates version number expansion):
|
||||||
|
# - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%FEDORA_VERSION%/atim-starship-fedora-%FEDORA_VERSION%.repo
|
||||||
|
|
||||||
|
# These RPMs will be installed from your enabled repositories (Fedora's own
|
||||||
|
# repos, extra "repos" you've added, etc). The installation is automatically
|
||||||
|
# performed via rpm-ostree during the image build, and will be pre-installed
|
||||||
|
# at the "system level" in the final image.
|
||||||
|
install:
|
||||||
|
# Needed for yafti (the first boot installer). Remove if you're not using yafti.
|
||||||
|
- python3-pip
|
||||||
|
# GNOME's GTK4 theme, Libadwaita. Already included in Silverblue, but not
|
||||||
|
# other spins. You can remove if you aren't using yafti, but many native
|
||||||
|
# apps and binaries require it, so it's a good idea to always include it
|
||||||
|
# if you ever download or compile any custom software on your machine.
|
||||||
|
- libadwaita
|
||||||
|
# Add your own below:
|
||||||
|
# Example:
|
||||||
|
# - tilix
|
||||||
|
- code
|
||||||
|
- cronie
|
||||||
|
- docker
|
||||||
|
# These RPMs will be removed from the system image. This step happens during
|
||||||
|
# image build, BEFORE installing custom RPMs (from the "rpm.install" category).
|
||||||
|
remove:
|
||||||
|
# Remove the native firefox (from Fedora) in favor of the Flatpak.
|
||||||
|
- firefox
|
||||||
|
- firefox-langpacks
|
||||||
|
# Configuration for the "first boot" experience, which is available after login.
|
||||||
|
firstboot:
|
||||||
|
# Whether to embed "yafti" into the OS image and configure it to autostart,
|
||||||
|
# which is the preferred uBlue "first boot" GUI. Set this to "false" if you've
|
||||||
|
# decided to use a different solution instead.
|
||||||
|
yafti: true
|
||||||
|
# These Flatpaks will be suggested for install after user login, via the yafti
|
||||||
|
# "first boot" GUI. Everything below will be merged into the "yafti.yml" config
|
||||||
|
# on build, in a category named "Custom". If you prefer, you can instead remove
|
||||||
|
# everything below and directly edit "yafti.yml" to have more control.
|
||||||
|
# Alternatively, if you've disabled "yafti", you can still install these via
|
||||||
|
# the "just setup-flatpaks" command from our "custom.just" template file.
|
||||||
|
# This is just an example selection:
|
||||||
|
flatpaks:
|
||||||
|
- io.github.celluloid_player.Celluloid
|
||||||
|
- org.kde.krita
|
||||||
@@ -42,7 +42,6 @@ rpm:
|
|||||||
repos:
|
repos:
|
||||||
# Example (which also demonstrates version number expansion):
|
# Example (which also demonstrates version number expansion):
|
||||||
# - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%FEDORA_VERSION%/atim-starship-fedora-%FEDORA_VERSION%.repo
|
# - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%FEDORA_VERSION%/atim-starship-fedora-%FEDORA_VERSION%.repo
|
||||||
- https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
|
|
||||||
|
|
||||||
# These RPMs will be installed from your enabled repositories (Fedora's own
|
# These RPMs will be installed from your enabled repositories (Fedora's own
|
||||||
# repos, extra "repos" you've added, etc). The installation is automatically
|
# repos, extra "repos" you've added, etc). The installation is automatically
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -oeu pipefail
|
|
||||||
|
|
||||||
rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
|
|
||||||
Reference in New Issue
Block a user