Add brave and vscode installs
This commit is contained in:
@@ -4,12 +4,12 @@
|
|||||||
name: wunker-os
|
name: wunker-os
|
||||||
# The native container image to build on top of.
|
# The native container image to build on top of.
|
||||||
# Warning: Non-uBlue images might not work properly, due to missing components.
|
# 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`.
|
# What Fedora version to use. Use an explicit version or `latest`.
|
||||||
# If you use `latest`, you will be automatically updated to the next major
|
# 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
|
# Fedora version, assuming the image you're using as your base container
|
||||||
# builds with the tag (all uBlue images do this).
|
# builds with the tag (all uBlue images do this).
|
||||||
fedora-version: 38
|
fedora-version: 37
|
||||||
# This description will be visible in the container metadata.
|
# 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/
|
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.
|
# These scripts will be executed during the container build.
|
||||||
@@ -42,6 +42,7 @@ 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
|
||||||
@@ -58,6 +59,7 @@ rpm:
|
|||||||
# Add your own below:
|
# Add your own below:
|
||||||
# Example:
|
# Example:
|
||||||
# - tilix
|
# - tilix
|
||||||
|
- brave-browser
|
||||||
# These RPMs will be removed from the system image. This step happens during
|
# These RPMs will be removed from the system image. This step happens during
|
||||||
# image build, BEFORE installing custom RPMs (from the "rpm.install" category).
|
# image build, BEFORE installing custom RPMs (from the "rpm.install" category).
|
||||||
remove:
|
remove:
|
||||||
|
|||||||
8
scripts/pre/install-vscode.sh
Normal file
8
scripts/pre/install-vscode.sh
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user