Compare commits

..

6 Commits

Author SHA1 Message Date
c8ac923bca Add rpm-ostree config files for fixing systemd stuff on first install 2026-05-18 22:07:33 -04:00
Ethan Paul
2e49de82b4 Remove packer RPM install, switch to using local binary
Hashicorp hasn't published an F44 build to their repo, so the container build fails
2026-05-18 11:28:08 -04:00
Ethan Paul
c7a34a3d5d Add zbar-devel to support the fpf-www-projects repo 2026-05-05 14:48:21 -04:00
Ethan Paul
694be4b410 Force overwrite symlink for remote podman binary 2026-04-13 15:43:20 -04:00
Ethan Paul
fcd2779c85 Add install of yq CLI utility 2026-04-13 14:07:52 -04:00
Ethan Paul
29397cc965 Add dangerzone to toolbox image 2026-04-13 13:09:39 -04:00
8 changed files with 66 additions and 7 deletions

View File

@@ -3,6 +3,8 @@
My personal development environment for using [Toolbox](https://containertoolbx.org/) containers, VSCodium, My personal development environment for using [Toolbox](https://containertoolbx.org/) containers, VSCodium,
and custom shell configuration: and custom shell configuration:
* rpm-ostree (start here)
* System level overlays and fixes required to make it go
* Toolbox * Toolbox
* Build a custom Toolbox container image with all my stuff in it * Build a custom Toolbox container image with all my stuff in it
* Enable the podman socket to allow running containers via podman from within Toolbox * Enable the podman socket to allow running containers via podman from within Toolbox
@@ -18,5 +20,5 @@ and custom shell configuration:
* Copy settings and keybindings * Copy settings and keybindings
* Install and update specified extensions * Install and update specified extensions
Use `make toolbox|shell|vscodium` for installation of specific components, or `make install` to install all Use `make toolbox|shell|vscodium|act-runner` for installation of specific components, or `make install` to install all
components. components.

View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
rpm-ostree install \
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
rpm-ostree install \
make \
gnome-tweaks \
net-tools \
yubikey-manager \
tailscale \
NetworkManager-tui

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
rpm-ostree install \
qemu \
libvirt \
libvirt-daemon-driver-storage-core \
virt-install \
virt-manager

21
rpm-ostree/10-install-vlc.bash Executable file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/env bash
rpm-ostree override remove \
noopenh264 \
--install openh264 \
--install gstreamer1-plugin-openh264 \
--install mozilla-openh264
rpm-ostree override remove \
mesa-va-drivers \
libavcodec-free \
libavfilter-free \
libavformat-free \
libavutil-free \
libswresample-free \
libswscale-free \
--install ffmpeg \
--install mesa-va-drivers-freeworld \
--install ffmpegthumbnailer
rpm-ostree install vlc

7
rpm-ostree/README.md Normal file
View File

@@ -0,0 +1,7 @@
# rpm-ostree
Because `make` is not installed on silverblue by default, we need to bootstrap
some stuff at the OS level directly before we can build the other targets. These
scripts will install the system level requirements, roughly in the order they
need to be done. Running `systemctl reboot` when prompted is left as an excercise
for the reader.

View File

@@ -9,12 +9,13 @@ LABEL local.build.commit=${BUILD_COMMIT}
ADD static-repos/google-cloud-sdk.repo /etc/yum.repos.d/google-cloud-sdk.repo ADD static-repos/google-cloud-sdk.repo /etc/yum.repos.d/google-cloud-sdk.repo
ADD static-repos/kubernetes.repo /etc/yum.repos.d/kubernetes.repo ADD static-repos/kubernetes.repo /etc/yum.repos.d/kubernetes.repo
ADD https://rpm.releases.hashicorp.com/fedora/hashicorp.repo /etc/yum.repos.d/hashicorp.repo
ADD https://cli.github.com/packages/rpm/gh-cli.repo /etc/yum.repos.d/github-cli.repo ADD https://cli.github.com/packages/rpm/gh-cli.repo /etc/yum.repos.d/github-cli.repo
ADD https://download.docker.com/linux/fedora/docker-ce.repo /etc/yum.repos.d/docker-ce.repo ADD https://download.docker.com/linux/fedora/docker-ce.repo /etc/yum.repos.d/docker-ce.repo
ADD https://packages.freedom.press/yum-tools-prod/dangerzone/dangerzone.repo /etc/yum.repos.d/dangerzone.repo
RUN dnf install --assumeyes \ RUN dnf install --assumeyes \
bind-utils \ bind-utils \
dangerzone \
direnv \ direnv \
docker-ce-cli \ docker-ce-cli \
docker-buildx-plugin \ docker-buildx-plugin \
@@ -38,7 +39,6 @@ RUN dnf install --assumeyes \
net-tools \ net-tools \
oathtool \ oathtool \
openssl-devel \ openssl-devel \
packer \
pinentry \ pinentry \
podman-remote \ podman-remote \
postgresql \ postgresql \
@@ -56,7 +56,8 @@ RUN dnf install --assumeyes \
ShellCheck \ ShellCheck \
virsh \ virsh \
virt-install \ virt-install \
xxhash-devel xxhash-devel \
zbar-devel
ADD github-install.bash /tmp/github-install.bash ADD github-install.bash /tmp/github-install.bash
RUN bash /tmp/github-install.bash && \ RUN bash /tmp/github-install.bash && \
@@ -67,4 +68,4 @@ RUN bash /tmp/github-install.bash && \
ADD profile.d/*.sh /etc/profile.d/ ADD profile.d/*.sh /etc/profile.d/
RUN ln -s /usr/bin/podman-remote /usr/bin/podman RUN ln -fs /usr/bin/podman-remote /usr/bin/podman

View File

@@ -14,6 +14,9 @@ function do_install() {
local url local url
url="${2}" url="${2}"
local origin
origin="${3:-$name}"
local working local working
working=$(mktemp -d) working=$(mktemp -d)
@@ -37,9 +40,9 @@ function do_install() {
fi fi
if [[ "${url}" == *.rpm ]]; then if [[ "${url}" == *.rpm ]]; then
dnf install --assumeyes "${working}/${name}.rpm" dnf install --assumeyes "${working}/${origin}.rpm"
else else
mv "${working}/${name}" "/usr/local/bin/${name}" mv "${working}/${origin}" "/usr/local/bin/${name}"
chmod +x "/usr/local/bin/${name}" chmod +x "/usr/local/bin/${name}"
fi fi
@@ -73,3 +76,6 @@ do_install cosign "https://github.com/sigstore/cosign/releases/download/${cosign
codium=$(get_latest VSCodium/vscodium) codium=$(get_latest VSCodium/vscodium)
do_install codium "https://github.com/VSCodium/vscodium/releases/download/${codium}/codium-${codium}-el8.x86_64.rpm" do_install codium "https://github.com/VSCodium/vscodium/releases/download/${codium}/codium-${codium}-el8.x86_64.rpm"
yq=$(get_latest mikefarah/yq)
do_install yq "https://github.com/mikefarah/yq/releases/download/${yq}/yq_linux_amd64.tar.gz" yq_linux_amd64