Skip to content

Commit

Permalink
feat: add charm glow, remove vhs (#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
castrojo authored Nov 14, 2023
1 parent 5f3b17e commit fe0480e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,12 @@ 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 VHS & dependencies
RUN rpm-ostree install $(curl https://api.github.com/repos/charmbracelet/vhs/releases/latest | jq -r '.assets[] | select(.name| test(".*.x86_64.rpm$")).browser_download_url') && \
wget https://github.com/tsl0922/ttyd/releases/latest/download/ttyd.x86_64 -O /tmp/ttyd && \
install -c -m 0755 /tmp/ttyd /usr/bin/ttyd

# 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

0 comments on commit fe0480e

Please sign in to comment.