diff --git a/recipe.yml b/recipe.yml index ddf12e0..a1c77fd 100644 --- a/recipe.yml +++ b/recipe.yml @@ -4,12 +4,12 @@ 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/silverblue-main +base-image: ghcr.io/ublue-os/kinoite-main # 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: 38 +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. @@ -42,6 +42,7 @@ rpm: 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 + - https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo # These RPMs will be installed from your enabled repositories (Fedora's own # repos, extra "repos" you've added, etc). The installation is automatically @@ -58,6 +59,7 @@ rpm: # Add your own below: # Example: # - tilix + - brave-browser # 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: diff --git a/scripts/pre/install-vscode.sh b/scripts/pre/install-vscode.sh new file mode 100644 index 0000000..e79450e --- /dev/null +++ b/scripts/pre/install-vscode.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -oue pipefail + +rpm --import https://packages.microsoft.com/keys/microsoft.asc +sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo' +dnf check-update +dnf install -y code \ No newline at end of file