Skip to content

Commit

Permalink
feat: install starship bash prompt in all images (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 committed Sep 21, 2023
1 parent f7a0c03 commit 4529836
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ RUN wget https://copr.fedorainfracloud.org/coprs/rhcontainerbot/bootc/repo/fedor
RUN rpm-ostree install bootc
RUN rm -f /etc/yum.repos.d/bootc-"${FEDORA_MAJOR_VERSION}".repo

# Starship Shell Prompt
RUN curl -Lo /tmp/starship.tar.gz "https://github.com/starship/starship/releases/latest/download/starship-x86_64-unknown-linux-gnu.tar.gz" && \
tar -xzf /tmp/starship.tar.gz -C /tmp && \
install -c -m 0755 /tmp/starship /usr/bin && \
echo 'eval "$(starship init bash)"' >> /etc/bashrc

RUN /tmp/build.sh && \
pip install --prefix=/usr yafti && \
systemctl enable rpm-ostree-countme.service && \
Expand Down Expand Up @@ -92,8 +98,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



RUN systemctl enable podman.socket
RUN systemctl disable pmie.service
RUN systemctl disable pmlogger.service
Expand Down

0 comments on commit 4529836

Please sign in to comment.