Skip to content

Commit

Permalink
chore: move to charm.sh repo (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobslept authored Nov 17, 2023
1 parent 24db4f4 commit 46e8c05
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 1 addition & 6 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ RUN wget https://copr.fedorainfracloud.org/coprs/ublue-os/bling/repo/fedora-$(rp
fc-cache -f /usr/share/fonts/inter && \
find /tmp/just -iname '*.just' -exec printf "\n\n" \; -exec cat {} \; >> /usr/share/ublue-os/just/60-custom.just && \
rm -f /etc/yum.repos.d/tailscale.repo && \
rm -f /etc/yum.repos.d/charm.repo && \
rm -f /etc/yum.repos.d/_copr_ublue-os-bling.repo && \
rm -f /etc/yum.repos.d/ublue-os-staging-fedora-"${FEDORA_MAJOR_VERSION}".repo && \
rm -f /usr/share/applications/fish.desktop && \
Expand Down Expand Up @@ -146,12 +147,6 @@ RUN wget https://raw.githubusercontent.com/ahmetb/kubectx/master/kubectx -O /usr
wget https://raw.githubusercontent.com/ahmetb/kubectx/master/kubens -O /usr/bin/kubens && \
chmod +x /usr/bin/kubectx /usr/bin/kubens

# Install Charm gum
RUN rpm-ostree install $(curl https://api.github.com/repos/charmbracelet/gum/releases/latest | jq -r '.assets[] | select(.name| test(".*.x86_64.rpm$")).browser_download_url')

# Install Charm glow
RUN rpm-ostree install $(curl https://api.github.com/repos/charmbracelet/glow/releases/latest | jq -r '.assets[] | select(.name| test(".*.x86_64.rpm$")).browser_download_url')

# Set up services
RUN systemctl enable podman.socket && \
systemctl disable pmie.service && \
Expand Down
6 changes: 6 additions & 0 deletions etc/yum.repos.d/charm.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[charm]
name=Charm
baseurl=https://repo.charm.sh/yum/
enabled=1
gpgcheck=1
gpgkey=https://repo.charm.sh/yum/gpg.key
2 changes: 2 additions & 0 deletions packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"ddccontrol",
"evtest",
"fish",
"glow",
"gum",
"gnome-shell-extension-appindicator",
"gnome-shell-extension-blur-my-shell",
"gnome-shell-extension-dash-to-dock",
Expand Down

0 comments on commit 46e8c05

Please sign in to comment.