Skip to content

Commit

Permalink
Use declarative ostree origin
Browse files Browse the repository at this point in the history
  • Loading branch information
samhclark authored Aug 11, 2024
1 parent 791ba49 commit 0c83a81
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
FROM quay.io/fedora-ostree-desktops/silverblue:40 as silverblue

RUN 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" \
| tee /etc/yum.repos.d/vscode.repo > /dev/null \
&& rpm-ostree override remove \
gnome-software-rpm-ostree \
gnome-terminal \
gnome-terminal-nautilus \
gnome-tour \
firefox \
firefox-langpacks \
&& rpm-ostree install --idempotent \
adw-gtk3-theme \
bootc \
code \
distrobox \
firewall-config \
gnome-tweaks \
ptyxis \
wireguard-tools \
COPY vscode.repo /etc/yum.repos.d/vscode.repo
COPY custom-origin.yaml /etc/rpm-ostree/origin.d/custom-origin.yaml

RUN rpm-ostree ex rebuild
&& systemctl enable rpm-ostreed-automatic.timer \
&& rpm-ostree cleanup -m \
&& ostree container commit

0 comments on commit 0c83a81

Please sign in to comment.